]> git.saurik.com Git - wxWidgets.git/commitdiff
test for __DARWIN__ with ifdef, not if
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Oct 2007 18:19:29 +0000 (18:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Oct 2007 18:19:29 +0000 (18:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 19c39e6446b0f7e954eaaa761cb9fc5b513a4ab4..7f275de250f23a9426564c9262d4723475fd1f64 100644 (file)
@@ -1220,7 +1220,7 @@ bool wxHandleFatalExceptions(bool doit)
 
 #if wxUSE_GUI
 
-#if __DARWIN__
+#ifdef __DARWIN__
     #include <sys/errno.h>
 #endif
 // ----------------------------------------------------------------------------