diff options
author | Guido van Rossum <guido@python.org> | 1998-12-04 18:50:20 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-04 18:50:20 +0000 |
commit | fa19603e9715b20899b40211585dd9db4c046a50 (patch) | |
tree | cd2ab8e580419a8df586f6e0616da9025368b0c7 /Python/thread.c | |
parent | 23c78aa2bcdf120ffe13190812f5769f2f6f6cf3 (diff) | |
download | cpython-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.c | 5 |
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 |