summaryrefslogtreecommitdiff
path: root/Mac/Modules/cm
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-05 10:31:52 +0000
committerJack Jansen <jack.jansen@cwi.nl>2001-09-05 10:31:52 +0000
commitf582b7f3403ef329471318ad0e1662f14d636a38 (patch)
treec57afc98b358db5b8b3b26a4d4b89a2ae60831b3 /Mac/Modules/cm
parent69f4549ae21551718588f8c7079a70647f896fd6 (diff)
downloadcpython-f582b7f3403ef329471318ad0e1662f14d636a38.tar.gz
Shut up many more gcc warnings.
Diffstat (limited to 'Mac/Modules/cm')
-rw-r--r--Mac/Modules/cm/_Cmmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/cm/_Cmmodule.c b/Mac/Modules/cm/_Cmmodule.c
index 10d4acbf5a..b643c8226e 100644
--- a/Mac/Modules/cm/_Cmmodule.c
+++ b/Mac/Modules/cm/_Cmmodule.c
@@ -5,8 +5,12 @@
+#ifdef _WIN32
+#include "pywintoolbox.h"
+#else
#include "macglue.h"
#include "pymactoolbox.h"
+#endif
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\