mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Using mg_snprintf() everywhere
This commit is contained in:
1 parent
f64c86d23f
commit
54f75889fa
17 files changed
+205
-237
No files matched your search
+1
-3
@@ -29,13 +29,11 @@
|
||||
#endif
|
||||
#endif // !defined(MG_ARCH)
|
||||
|
||||
#if !defined(PRINTF_LIKE)
|
||||
#if defined(__GNUC__) || defined(__clang__) || defined(__TI_COMPILER_VERSION__)
|
||||
#if defined(__GNUC__) && defined(__arm__)
|
||||
#define PRINTF_LIKE(f, a) __attribute__((format(printf, f, a)))
|
||||
#else
|
||||
#define PRINTF_LIKE(f, a)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if MG_ARCH == MG_ARCH_CUSTOM
|
||||
#include <mongoose_custom.h>
|
||||
|
||||
Reference in new issue
Block a user