diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 09:09:41 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-08 09:09:41 +0000 |
| commit | 7ee2e982fc0ba1b414c21480f83c880700f4aebb (patch) | |
| tree | e2952eb5e1c9d22b90a53c486eef1b837819ca84 | |
| parent | 652f8091a0483a1267fa5fcc0fa010d98c845e02 (diff) | |
| download | ruby-7ee2e982fc0ba1b414c21480f83c880700f4aebb.tar.gz ruby-7ee2e982fc0ba1b414c21480f83c880700f4aebb.tar.xz ruby-7ee2e982fc0ba1b414c21480f83c880700f4aebb.zip | |
* win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | win32/Makefile.sub | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Mon Sep 8 18:09:07 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7. + Mon Sep 8 17:46:09 2008 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (filetime_to_unixtime): remove unused variable. diff --git a/win32/Makefile.sub b/win32/Makefile.sub index f08d4f6f8..cc16a5a44 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 |
