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 | 8a2612b33585e832f12f1865811a6b6db8c36a24 (patch) | |
tree | 1c2479e2d1b7dd6ded09584aa17258fd9a54339e /wince | |
parent | ed91275a9889d780cc44d56992bd439d45656838 (diff) | |
download | ruby-8a2612b33585e832f12f1865811a6b6db8c36a24.tar.gz |
* 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
Diffstat (limited to 'wince')
-rw-r--r-- | wince/Makefile.sub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub index 71a7df2167..f7a88752d6 100644 --- a/wince/Makefile.sub +++ b/wince/Makefile.sub @@ -223,6 +223,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/wince/Makefile.sub #define DEPRECATED(x) __declspec(deprecated) x #define NOINLINE(x) __declspec(noinline) x !endif +#define RUBY_EXTERN extern __declspec(dllimport) #define HAVE_DECL_SYS_NERR 1 #define HAVE_FCNTL_H 1 #define HAVE_SYS_UTIME_H 1 |