aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-10-29 10:41:22 +0100
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-10 08:27:25 +0100
commit92c6a2a13d23b4c025f8630cade05e5ab63e8c12 (patch)
tree9e60effc2247f6e836559f869cfc4eba35280f31
parentEcore_Con: fix warning on Windows (diff)
downloadefl-devs/captainigloo/win32.tar.gz
Evil: better check of Windows 64 bitsdevs/captainigloo/win32
-rw-r--r--src/lib/evil/evil_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evil/evil_time.c b/src/lib/evil/evil_time.c
index a6984bf85c..1bd716ab28 100644
--- a/src/lib/evil/evil_time.c
+++ b/src/lib/evil/evil_time.c
@@ -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