From: Stefan Csomor Date: Thu, 24 Sep 2009 09:54:57 +0000 (+0000) Subject: avoiding double define warnings on osx X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e2bc58263e2f512c6fc46e7d0871ff0306dba865?ds=sidebyside avoiding double define warnings on osx git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/expat/lib/macconfig.h b/src/expat/lib/macconfig.h index 3c5eb541a1..b3eb338a3d 100644 --- a/src/expat/lib/macconfig.h +++ b/src/expat/lib/macconfig.h @@ -43,13 +43,17 @@ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ +#ifndef HAVE_STDLIB_H #define HAVE_STDLIB_H +#endif /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ +#ifndef HAVE_STRING_H #define HAVE_STRING_H +#endif /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H @@ -76,7 +80,9 @@ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ +#ifndef STDC_HEADERS #define STDC_HEADERS +#endif /* whether byteorder is bigendian */ #define WORDS_BIGENDIAN