Browse Source

Fix compiler warnings with pyconfig.h

rdb 16 years ago
parent
commit
cd3307ccd4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dtool/src/dtoolbase/dtoolbase.h

+ 4 - 0
dtool/src/dtoolbase/dtoolbase.h

@@ -94,6 +94,10 @@
 #endif
 #define _WIN32_WINNT 0x0502
 
+#ifdef HAVE_PYTHON
+#include "pyconfig.h"
+#endif
+
 #include "dtoolsymbols.h"
 
 // always include assert.h until drose unbreaks it for opt4