From 47f35969e0a08d6a1d96c1cd615ef2f0421747a9 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 29 Apr 2010 15:54:18 +0000 Subject: [PATCH] * win32/Makefile.sub (config.h): define some constants to select collect code for win64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ win32/Makefile.sub | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index 75a565165a..adf40ccc28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 30 00:52:56 2010 NAKAMURA Usaku + + * win32/Makefile.sub (config.h): define some constants to select + collect code for win64. + Thu Apr 29 20:10:14 2010 Nobuyoshi Nakada * test/test_open3.rb (test_commandline): use dump instead of diff --git a/win32/Makefile.sub b/win32/Makefile.sub index e3d8d5ade6..fa86472947 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -486,21 +486,37 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_UINT8_T 1 #define uint8_t unsigned char #define SIZEOF_INT8_T 1 +#define SIZEOF_UINT8_T 1 +#define INT8_MIN _I8_MIN +#define INT8_MAX _I8_MAX +#define UINT8_MAX _UI8_MAX #define HAVE_INT16_T 1 #define int16_t short #define HAVE_UINT16_T 1 #define uint16_t unsigned short #define SIZEOF_INT16_T 2 +#define SIZEOF_UINT16_T 2 +#define INT16_MIN _I16_MIN +#define INT16_MAX _I16_MAX +#define UINT16_MAX _UI16_MAX #define HAVE_INT32_T 1 #define int32_t int #define HAVE_UINT32_T 1 #define uint32_t unsigned int #define SIZEOF_INT32_T 4 +#define SIZEOF_UINT32_T 4 +#define INT32_MIN _I32_MIN +#define INT32_MAX _I32_MAX +#define UINT32_MAX _UI32_MAX #define HAVE_INT64_T 1 #define int64_t __int64 #define HAVE_UINT64_T 1 #define uint64_t unsigned __int64 #define SIZEOF_INT64_T 8 +#define SIZEOF_UINT64_T 8 +#define INT64_MIN _I64_MIN +#define INT64_MAX _I64_MAX +#define UINT64_MAX _UI64_MAX #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_SSIZE_T 1