##// END OF EJS Templates
chg: define PRINTF_FORMAT_ for non gnu C compiler...
Jun Wu -
r28604:d4d8a3c8 default
parent child Browse files
Show More
@@ -12,6 +12,8 b''
12
12
13 #ifdef __GNUC__
13 #ifdef __GNUC__
14 #define PRINTF_FORMAT_ __attribute__((format(printf, 1, 2)))
14 #define PRINTF_FORMAT_ __attribute__((format(printf, 1, 2)))
15 #else
16 #define PRINTF_FORMAT_
15 #endif
17 #endif
16
18
17 void abortmsg(const char *fmt, ...) PRINTF_FORMAT_;
19 void abortmsg(const char *fmt, ...) PRINTF_FORMAT_;
General Comments 0
You need to be logged in to leave comments. Login now