From f261526423db10822012be10bf9fdcaa3f135145 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 4 Dec 1998 18:50:20 +0000 Subject: Need to add default decl of DL_IMPORT, for mymalloc.h --- Python/thread.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Python/thread.c') 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 #ifdef HAVE_STDLIB_H -- cgit v1.2.1