Define empty if gcc is too old.

Mon Aug  9 17:37:56 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/gmacros.h (G_GNUC_INTERNAL): Define empty if gcc is too old.
This commit is contained in:
Matthias Clasen
2004-08-09 21:39:39 +00:00
committed by Matthias Clasen
parent f1d1c56493
commit e02c68bef0
6 changed files with 21 additions and 1 deletions

View File

@@ -59,7 +59,7 @@
* functions as being used internally to the lib only, to not
* create inefficient PLT entries.
*/
#if defined (__GNUC__)
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
#else
#define G_GNUC_INTERNAL