evil: better check of Windows 64 bits
authorVincent Torri <vincent dot torri at gmail dot com>
Thu, 29 Oct 2015 09:41:22 +0000 (10:41 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 1 Dec 2015 20:15:52 +0000 (12:15 -0800)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/evil/evil_time.c

index a6984bf..1bd716a 100644 (file)
@@ -312,7 +312,7 @@ strptime(const char *buf, const char *fmt, struct tm *tm)
               continue;
 
 #ifndef TIME_MAX
-# if INTPTR_MAX == 0xffffffffffffffff
+# ifdef _WIN64
 #  define TIME_MAX INT64_MAX
 # else
 #  define TIME_MAX INT32_MAX