summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-04 18:50:20 (GMT)
committerGuido van Rossum <guido@python.org>1998-12-04 18:50:20 (GMT)
commitf261526423db10822012be10bf9fdcaa3f135145 (patch)
tree8b29093f6db7db3ed1cbe89129845b972bcb90a3 /Parser
parent3886bb6997f8f7b0b64eed19045161e697f415fe (diff)
downloadcpython-f261526423db10822012be10bf9fdcaa3f135145.zip
cpython-f261526423db10822012be10bf9fdcaa3f135145.tar.gz
cpython-f261526423db10822012be10bf9fdcaa3f135145.tar.bz2
Need to add default decl of DL_IMPORT, for mymalloc.h
Diffstat (limited to 'Parser')
-rw-r--r--Parser/intrcheck.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index 1320bd8..b1cfb7c 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -32,6 +32,12 @@ PERFORMANCE OF THIS SOFTWARE.
/* Check for interrupts */
#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 "myproto.h"
#include "mymalloc.h" /* For ANY */
#include "intrcheck.h"