summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 09:09:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-08 09:09:41 +0000
commit80de18922eca09a36b26a21e62e754bcccbd1989 (patch)
treee2952eb5e1c9d22b90a53c486eef1b837819ca84 /win32/Makefile.sub
parent9ae4b8bbfe4b10165a646724b2701a8d5f07cb62 (diff)
* win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index f08d4f6f82..cc16a5a44b 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -355,6 +355,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define SIZEOF_SIZE_T 4
#define SIZEOF_PTRDIFF_T 4
!endif
+!if $(MSC_VER) < 1400
+#define SIZE_MAX UINT_MAX
+!endif
#define HAVE_PROTOTYPES 1
#define TOKEN_PASTE(x,y) x##y
#define HAVE_STDARG_PROTOTYPES 1