]> git.saurik.com Git - wxWidgets.git/commitdiff
recompiled header support
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 9 Oct 2001 11:55:54 +0000 (11:55 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 9 Oct 2001 11:55:54 +0000 (11:55 +0000)
removed doubled definitions (already in wx headers)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/opengl/penguin/lw.cpp

index c2875d58875b972e45b68dbe54bdb5fad1a7b8ab..aaa1d889c2bbf453d5404e70364d1dc99bfa245a 100644 (file)
 #include <windows.h>
 #endif
 
-#include "wx/defs.h"
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
 
 #include "lw.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
 
-#if !defined(__WXMAC__)
-// these must be defined in the precompiled headers under CodeWarrior
-#define wxInt32 int
-#define wxUint32 unsigned int
-#endif
-
 #ifndef FALSE
 #define FALSE 0
 #endif