diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-25 17:00:03 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-25 17:00:03 +0000 |
| commit | 932ababe720067ad50582de8a08f221b0894d2b7 (patch) | |
| tree | 1c2479e2d1b7dd6ded09584aa17258fd9a54339e /bcc32 | |
| parent | 614db06b23f74e9359a91483010d18112e431666 (diff) | |
| download | ruby-932ababe720067ad50582de8a08f221b0894d2b7.tar.gz ruby-932ababe720067ad50582de8a08f221b0894d2b7.tar.xz ruby-932ababe720067ad50582de8a08f221b0894d2b7.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
| -rw-r--r-- | bcc32/Makefile.sub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 53b908f65..18c5c47f1 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 |
