From 01771b15dde36d4cd4aa1180f130c462dffe4197 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 May 2003 23:25:31 +0000 Subject: [PATCH] linking fix for wxUSE_PROLOGIO with compilers/makefiles not defining __WIN32__ on command line git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dosyacc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/dosyacc.c b/src/common/dosyacc.c index 14672306db..ec795f56b4 100644 --- a/src/common/dosyacc.c +++ b/src/common/dosyacc.c @@ -1,3 +1,6 @@ +/* we must include wx/platform.h to define __WIN32__ */ +#include "wx/platform.h" + #if defined(__WIN32__) || defined(__GNUWIN32__) /* all Win32 compilers can handle C++ comments, and C++ comments is the only C++ in setup.h */