summaryrefslogtreecommitdiffstats
path: root/PC/config.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-29 02:53:29 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-29 02:53:29 (GMT)
commitd3ab101facfc6e6ac8506e609d1f141e8dd485a3 (patch)
tree56088afe5ca2f39988317c16098983ca740b2099 /PC/config.h
parent3600beefea045c563a56d43394fac35a8c06cd38 (diff)
downloadcpython-d3ab101facfc6e6ac8506e609d1f141e8dd485a3.zip
cpython-d3ab101facfc6e6ac8506e609d1f141e8dd485a3.tar.gz
cpython-d3ab101facfc6e6ac8506e609d1f141e8dd485a3.tar.bz2
Quick fix -- define SIZEOF_LONG and SIZEOF_INT.
Diffstat (limited to 'PC/config.h')
-rw-r--r--PC/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index a411ab8..68e9c5a 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -196,6 +196,10 @@ typedef int pid_t;
#endif /* !MS_WIN32 */
#ifdef MS_WIN32
+
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 4
+
/* EXPERIMENTAL FEATURE: When CHECK_IMPORT_CASE is defined, check case of
imported modules against case of file; this causes "import String" to fail
with a NameError exception when it finds "string.py". Normally, you set