Enabled Gnu warning suppression macros for GCC on Mac OS X.

git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@508 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
dhiebert 2007-05-03 03:20:59 +00:00
parent d1be40b89f
commit 7cd8975cc5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
/* This is a helpful internal feature of later versions (> 2.7) of GCC
* to prevent warnings about unused variables.
*/
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !(defined (__APPLE_CC__) || defined (__GNUG__))
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !defined (__GNUG__)
# define __unused__ __attribute__((unused))
# define __printf__(s,f) __attribute__((format (printf, s, f)))
#else