Improve the AIX size_t size detection test
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 8 Jul 2005 03:28:26 +0000 (03:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 8 Jul 2005 03:28:26 +0000 (03:28 +0000)
configure.in

index 1b7bf3475c439133a6e8aee6cacecc57370c0873..e4682d507458f38ad2ea413796f7a5ae1c3f05aa 100644 (file)
@@ -787,7 +787,7 @@ dnl
 if test $ac_cv_sizeof_size_t = $ac_cv_sizeof_int &&
    test $ac_cv_sizeof_size_t = $ac_cv_sizeof_long ; then
   GLIB_CHECK_COMPILE_WARNINGS([
-#ifdef _AIX
+#if defined(_AIX) && !defined(__GNUC__)
 #pragma options langlvl=stdc89
 #endif
 #include <stddef.h>