mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define
RUBY_EXPORT to export symbols. * defines.h: use RUBY_EXTERN instead of EXTERN. * intern.h, re.h, ruby.h, rubysig.h: ditto. * win32/win32.h: remove EXTERN definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
72dfee9a96
commit
f3bdfcc416
10 changed files with 117 additions and 99 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue