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 | af832540ef02189b758e0a5c09a3718fd766a7e7 (patch) | |
| tree | 0fa6a08034aff4516c5bd192cd8c0d1ec064d986 /win32 | |
| parent | 8acd2da4b144a51ba694d11b5507504b367474b9 (diff) | |
| download | ruby-af832540ef02189b758e0a5c09a3718fd766a7e7.tar.gz ruby-af832540ef02189b758e0a5c09a3718fd766a7e7.tar.xz ruby-af832540ef02189b758e0a5c09a3718fd766a7e7.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/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/Makefile.sub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 24254a10a..4a24039b4 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -207,6 +207,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub !if $(MSC_VER) > 1100 #define NORETURN(x) __declspec(noreturn) x !endif +#define RUBY_EXTERN extern __declspec(dllimport) #define HAVE_DECL_SYS_NERR 1 #define HAVE_LIMITS_H 1 #define HAVE_FCNTL_H 1 |
