From 8a2612b33585e832f12f1865811a6b6db8c36a24 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 25 Oct 2005 17:00:03 +0000 Subject: * configure.in (RUBY_EXTERN): macro to export symbols in shared library. [ruby-core:05528] * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to configuration pass. * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/Makefile.sub | 1 + 1 file changed, 1 insertion(+) (limited to 'bcc32/Makefile.sub') diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 53b908f658..18c5c47f13 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -226,6 +226,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)bcc32/Makefile.sub \#define TOKEN_PASTE(x,y) x\#\#y \#define HAVE_STDARG_PROTOTYPES 1 \#define NORETURN(x) x +\#define RUBY_EXTERN extern __declspec(dllimport) \#define HAVE_DECL_SYS_NERR 1 \#define HAVE_LIMITS_H 1 \#define HAVE_FCNTL_H 1 -- cgit v1.2.3