diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-01 00:42:06 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-01 00:42:06 +0000 |
commit | 5bf63ffcaaee7c78d6ae2c6f7cc90b8004dd57b1 (patch) | |
tree | bcbd94364884def462f52becc6541623826e7dc2 | |
parent | 283be20b27567b0d040979ac2c860450b8a760b7 (diff) | |
download | ruby-5bf63ffcaaee7c78d6ae2c6f7cc90b8004dd57b1.tar.gz |
* {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bcc32/Makefile.sub | 3 | ||||
-rw-r--r-- | win32/Makefile.sub | 5 |
3 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Apr 1 09:41:22 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc. + Tue Apr 1 07:31:58 2008 Eric Hodel <drbrain@segment7.net> * lib/rubygems* test/rubygems*: Import RubyGems 1.1.0. diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index f46d5cd652..9c357cc1ce 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -342,6 +342,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub \#define RSHIFT(x,y) ((x)>>(int)y) \#define FILE_COUNT level \#define FILE_READPTR curp +\#define RUBY_SETJMP(env) _setjmp(env) +\#define RUBY_LONGJMP(env,val) longjmp(env,val) +\#define RUBY_JMP_BUF jmp_buf \#define inline __inline \#define NEED_IO_SEEK_BETWEEN_RW 1 \#define STACK_GROW_DIRECTION -1 diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 61d6afc6fb..7fd552fc0c 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -385,7 +385,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_SSIZE_T 1 -!if "$(ARCH)" == "AMD64" || "$(ARCH)" == "IA64" +!if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64" #define ssize_t __int64 !else #define ssize_t int @@ -442,6 +442,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define RSHIFT(x,y) ((x)>>(int)y) #define FILE_COUNT _cnt #define FILE_READPTR _ptr +#define RUBY_SETJMP(env) _setjmp(env) +#define RUBY_LONGJMP(env,val) longjmp(env,val) +#define RUBY_JMP_BUF jmp_buf #define inline __inline #define NEED_IO_SEEK_BETWEEN_RW 1 !if "$(PROCESSOR_ARCHITECTURE)" == "x86" || "$(ARCH)" == "x64" || "$(ARCH)" == "ia64" |