From 3fbcc7fce5cb170b1a7cbc9c22299e44152cb1f7 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 15 Apr 2002 19:38:05 +0000 Subject: [PATCH] Applied TRUE/FALSE fix here too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gsockmsw.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index c966cfffc1..0d9c591cb6 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -55,6 +55,12 @@ #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 + #ifdef _MSC_VER # pragma warning(default:4115) /* named type definition in parentheses */ #endif -- 2.47.2