~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.in
diff --git
a/config.h.in
b/config.h.in
index
508a8a8
..
8492df2
100644
(file)
--- a/
config.h.in
+++ b/
config.h.in
@@
-160,4
+160,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 */