summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-12-20 22:57:41 (GMT)
committerGuido van Rossum <guido@python.org>1999-12-20 22:57:41 (GMT)
commit9f9fa6d0c937a2cbc51feb3c92212688b09235f0 (patch)
treece110ac661ff762149480c3c6e9eb97754cd4a60 /PC
parent95288862bb499796e8d4dedc56e0913408316487 (diff)
downloadcpython-9f9fa6d0c937a2cbc51feb3c92212688b09235f0.zip
cpython-9f9fa6d0c937a2cbc51feb3c92212688b09235f0.tar.gz
cpython-9f9fa6d0c937a2cbc51feb3c92212688b09235f0.tar.bz2
Add HAVE_DYNAMIC_LOADING.
Define Py_DEBUG when compiling in debug mode. (Is that a good idea?)
Diffstat (limited to 'PC')
-rw-r--r--PC/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h
index 48c1179..3a02da8 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -213,6 +213,7 @@ 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")
@@ -378,6 +379,9 @@ typedef int pid_t;
/* Define if you have clock. */
/* #define HAVE_CLOCK */
+/* Define when any dynamic module loading is enabled */
+#define HAVE_DYNAMIC_LOADING
+
/* Define if you have ftime. */
#define HAVE_FTIME