From: Stefan Csomor Date: Wed, 2 Feb 2011 07:56:38 +0000 (+0000) Subject: testing for define alone is sufficient and more portable X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/41857332b629ed9c17ceca252a5cdd951995d667 testing for define alone is sufficient and more portable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/config_xcode.h b/include/wx/osx/config_xcode.h index a8257a636b..03311e0396 100644 --- a/include/wx/osx/config_xcode.h +++ b/include/wx/osx/config_xcode.h @@ -13,7 +13,7 @@ #define HAVE_SSIZE_T 1 #define STDC_HEADERS 1 -#if __BIG_ENDIAN__ +#ifdef __BIG_ENDIAN__ #define WORDS_BIGENDIAN 1 #endif #define wxUSE_UNIX 1