~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.14
[secnet]
/
config.h.bot
diff --git
a/config.h.bot
b/config.h.bot
index
cf288bd
..
bb24eb1
100644
(file)
--- a/
config.h.bot
+++ b/
config.h.bot
@@
-55,4
+55,12
@@
typedef unsigned char uint8_t;
#include "snprintf.h"
#endif
#include "snprintf.h"
#endif
+#ifdef __GNUC__
+#define NORETURN(_x) void _x __attribute__ ((noreturn))
+#define FORMAT(_a,_b,_c) __attribute__ ((format (_a,_b,_c)))
+#else
+#define NORETURN(_x) _x
+#define FORMAT(_a,_b,_c)
+#endif
+
#endif /* _CONFIG_H */
#endif /* _CONFIG_H */