diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 4 | ||||
-rw-r--r-- | win32/win32.h | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 50647a60c9..c358e3b93d 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -99,7 +99,7 @@ ARFLAGS = -machine:$(MACHINE) -out: CC = $(CC) -nologo LD = $(CC) LDSHARED = $(LD) -LD -XCFLAGS = +XCFLAGS = -DRUBY_EXPORT LDFLAGS = -link -incremental:no -pdb:none DLDFLAGS = $(LDFLAGS) -dll XLDFLAGS = -stack:$(STACK) @@ -336,7 +336,7 @@ s,@OBJEXT@,obj,;t t s,@XLDFLAGS@,$(XLDFLAGS),;t t s,@DLDFLAGS@,$(DLDFLAGS) $$(LIBPATH) -def:$$(DEFFILE),;t t s,@STATIC@,$(STATIC),;t t -s,@CCDLFLAGS@,-DIMPORT,;t t +s,@CCDLFLAGS@,,;t t s,@LDSHARED@,$(LDSHARED),;t t s,@DLEXT@,so,;t t s,@DLEXT2@,dll,;t t diff --git a/win32/win32.h b/win32/win32.h index 59e0dd694b..f8bf377409 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -9,13 +9,6 @@ * */ -#undef EXTERN -#if defined(IMPORT) -#define EXTERN extern __declspec(dllimport) -#elif defined(EXPORT) -#define EXTERN extern __declspec(dllexport) -#endif - // // Definitions for NT port of Perl // |