Need to add default decl of DL_IMPORT, for mymalloc.h

This commit is contained in:
Guido van Rossum 1998-12-04 18:50:20 +00:00
parent 3886bb6997
commit f261526423
2 changed files with 11 additions and 0 deletions

View file

@ -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"

View file

@ -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