Fix a preprocessor warning with --disable-visibility
authorChristian Persch <chpe@gnome.org>
Sat, 19 Jun 2010 14:41:25 +0000 (16:41 +0200)
committerChristian Persch <chpe@gnome.org>
Sat, 19 Jun 2010 17:07:36 +0000 (19:07 +0200)
Don't redefine DISABLE_VISIBILITY when already building with
--disable-visibility.

gthread/tests/1bit-mutex.c

index dff095c..abb6ddf 100644 (file)
@@ -26,7 +26,9 @@
    */
 
   /* side-step some glib build stuff */
+  #ifndef DISABLE_VISIBILITY
   #define DISABLE_VISIBILITY
+  #endif
   #define GLIB_COMPILATION
 
   /* rebuild gbitlock.c without futex support,