summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
committerGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
commitbffd683f7356d92d4504b2bcaa7221fab3f52f4e (patch)
treefb68ae112139013c715e82c4b03678feab52ab21 /PC
parente0a928dc1ec74f487471d102ae6efacc92055aa6 (diff)
downloadcpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.zip
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.gz
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.bz2
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/PC/config.h b/PC/config.h
index 3a02da8..c1e4f84 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -61,6 +61,8 @@ you must define MS_NO_COREDLL (do not test this macro) */
#ifdef _M_IX86
#define COMPILER "[MSC 32 bit (Intel)]"
+#elif defined(_M_ALPHA)
+#define COMPILER "[MSC 32 bit (Alpha)]"
#else
#define COMPILER "[MSC (Unknown)]"
#endif
@@ -213,13 +215,16 @@ typedef int pid_t;
#ifndef USE_DL_EXPORT
/* So nobody needs to specify the .lib in their Makefile any more */
#ifdef _DEBUG
-#define Py_DEBUG
#pragma comment(lib,"python15_d.lib")
#else
#pragma comment(lib,"python15.lib")
#endif
#endif /* USE_DL_EXPORT */
+#ifdef _DEBUG
+#define Py_DEBUG
+#endif
+
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8