Commit 567bd376 authored by Michael Beck's avatar Michael Beck
Browse files

Better fix for __attibute__ usage, this is a GCC feature.

[r28137]
parent 47aca3cc
......@@ -507,10 +507,10 @@ __extension__ \
# define FIRM_NOTHROW
#endif
#ifdef _WIN32
# define FIRM_PRINTF(a,b)
#else
#ifdef __GNUC__
# define FIRM_PRINTF(a,b) __attribute__ ((__format__ (__printf__, a, b)))
#else
# define FIRM_PRINTF(a,b)
#endif
/** prints formated string (printf-style format) to an obstack.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment