aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-12 09:46:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-12 09:46:45 +0000
commitb01602bffa1ce5f2a239426da9d588e3ea4a398c (patch)
tree401782121367cec1440e36c4d6c9b15b7ef7cf48 /win32
parenta539b011da07c6b34f0acd6166e9bfa2e6fe5f8a (diff)
downloadruby-b01602bffa1ce5f2a239426da9d588e3ea4a398c.tar.gz
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
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub1
1 files changed, 1 insertions, 0 deletions
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)