From: Vadim Zeitlin Date: Mon, 15 Apr 2002 19:02:38 +0000 (+0000) Subject: compilation fix after TRUE/FALSE change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a84ece11fffdde5d1bbd254ba58ac3cee79c2e77 compilation fix after TRUE/FALSE change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index 55b8679987..fc5f87c83d 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -60,6 +60,11 @@ #include +/* 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