X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/ff05a229397c75142725f45cad191ce4a00625ce..4f5e39ec:/config.h.bot diff --git a/config.h.bot b/config.h.bot index cf288bd..bb24eb1 100644 --- a/config.h.bot +++ b/config.h.bot @@ -55,4 +55,12 @@ typedef unsigned char uint8_t; #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 */