ruby-changes:46566
From: usa <ko1@a...>
Date: Fri, 12 May 2017 18:46:50 +0900 (JST)
Subject: [ruby-changes:46566] usa:r58681 (trunk): It seems that MSVCRT accepts negative time_t
usa 2017-05-12 18:46:45 +0900 (Fri, 12 May 2017) New Revision: 58681 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58681 Log: It seems that MSVCRT accepts negative time_t Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 58680) +++ win32/Makefile.sub (revision 58681) @@ -571,6 +571,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L571 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 #define SIGNEDNESS_OF_TIME_T -1 +#define NEGATIVE_TIME_T 1 !if $(RT_VER) >= 80 #define SIZEOF_TIME_T 8 #define TIMET2NUM(v) LL2NUM(v) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/