summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:50:20 +0000
committerGuido van Rossum <guido@python.org>1998-12-04 18:50:20 +0000
commitfa19603e9715b20899b40211585dd9db4c046a50 (patch)
treecd2ab8e580419a8df586f6e0616da9025368b0c7 /Python/thread.c
parent23c78aa2bcdf120ffe13190812f5769f2f6f6cf3 (diff)
downloadcpython-fa19603e9715b20899b40211585dd9db4c046a50.tar.gz
Need to add default decl of DL_IMPORT, for mymalloc.h
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index ff5aefe68b..2c206908b4 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -37,6 +37,11 @@ PERFORMANCE OF THIS SOFTWARE.
#include "config.h"
+/* config.h may or may not define DL_IMPORT */
+#ifndef DL_IMPORT /* declarations for DLL import/export */
+#define DL_IMPORT(RTYPE) RTYPE
+#endif
+
#include <stdio.h>
#ifdef HAVE_STDLIB_H