commit | f261526423db10822012be10bf9fdcaa3f135145 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Dec 04 18:50:20 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Dec 04 18:50:20 1998 +0000 |
tree | 8b29093f6db7db3ed1cbe89129845b972bcb90a3 | |
parent | 3886bb6997f8f7b0b64eed19045161e697f415fe [diff] |
Need to add default decl of DL_IMPORT, for mymalloc.h
diff --git a/Python/thread.c b/Python/thread.c index ff5aefe..2c20690 100644 --- a/Python/thread.c +++ b/Python/thread.c
@@ -37,6 +37,11 @@ #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