From e87cc8ea0d359d5123a33af7a193b0837c94d026 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 12 May 2017 09:46:45 +0000 Subject: It seems that MSVCRT accepts negative time_t git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index f3559fb006..e1a283e73f 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -571,6 +571,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #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) -- cgit v1.2.3