]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation error when x-compiling (patch from Fabian Wenzel)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2002 12:56:51 +0000 (12:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 May 2002 12:56:51 +0000 (12:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/opengl/penguin/lw.cpp

index 7d83324bbd8d5e05d852b603df2d00cf2b884711..44c2dd32b4e93a73648df4ef2339514172cf98b4 100644 (file)
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#ifdef __WXMSW__
-#include <windows.h>
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #include "wx/wx.h"
 #endif
 
+#ifdef __WXMSW__
+#include <windows.h>
+#endif
+
 #include "lw.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
 
-#ifndef FALSE
-#define FALSE 0
-#endif
-
-#ifndef TRUE
-#define TRUE 1
-#endif
-
 #define MK_ID(a,b,c,d) ((((wxUint32)(a))<<24)| \
             (((wxUint32)(b))<<16)| \
             (((wxUint32)(c))<< 8)| \