ruby-changes:7719
From: usa <ko1@a...>
Date: Mon, 8 Sep 2008 18:09:56 +0900 (JST)
Subject: [ruby-changes:7719] Ruby:r19240 (trunk): * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.
usa 2008-09-08 18:09:41 +0900 (Mon, 08 Sep 2008) New Revision: 19240 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19240 Log: * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7. Modified files: trunk/ChangeLog trunk/win32/Makefile.sub Index: ChangeLog =================================================================== --- ChangeLog (revision 19239) +++ ChangeLog (revision 19240) @@ -1,3 +1,7 @@ +Mon Sep 8 18:09:07 2008 NAKAMURA Usaku <usa@r...> + + * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7. + Mon Sep 8 17:46:09 2008 NAKAMURA Usaku <usa@r...> * win32/win32.c (filetime_to_unixtime): remove unused variable. Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 19239) +++ win32/Makefile.sub (revision 19240) @@ -355,6 +355,9 @@ #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/