]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after TRUE/FALSE change
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Apr 2002 19:02:38 +0000 (19:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Apr 2002 19:02:38 +0000 (19:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gsocket.c

index 55b86799879d5e7c52cacb96d158a46a769416a8..fc5f87c83dd05b7cfb7a571a02d3ffa4745c66f2 100644 (file)
 
 #include <winsock.h>
 
+/* don't use C++ TRUE/FALSE definition which we get from wx/defs.h */
+#undef TRUE
+#undef FALSE
+#define TRUE 1
+#define FALSE 0
 
 /* if we use configure for MSW SOCKLEN_T will be already defined */
 #ifndef SOCKLEN_T