diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 09:46:45 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 09:46:45 +0000 |
commit | e87cc8ea0d359d5123a33af7a193b0837c94d026 (patch) | |
tree | 401782121367cec1440e36c4d6c9b15b7ef7cf48 /win32 | |
parent | 5bf395f4cbd43bf64abcf6cc19daf834d2a02046 (diff) | |
download | ruby-e87cc8ea0d359d5123a33af7a193b0837c94d026.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.sub | 1 |
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) |