Skip to content

Commit

Permalink
Need to add default decl of DL_IMPORT, for mymalloc.h
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Dec 4, 1998
1 parent 3886bb6 commit f261526
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Parser/intrcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions Python/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f261526

Please sign in to comment.