]> granicus.if.org Git - python/commitdiff
Add HAVE_DYNAMIC_LOADING.
authorGuido van Rossum <guido@python.org>
Mon, 20 Dec 1999 22:57:41 +0000 (22:57 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Dec 1999 22:57:41 +0000 (22:57 +0000)
Define Py_DEBUG when compiling in debug mode.  (Is that a good idea?)

PC/config.h

index 48c11791d2e1819f03e694a6471ef576aaf2dec4..3a02da8a08210111bf9c2a75238dd014f2627f6d 100644 (file)
@@ -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