summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-10-29 10:41:22 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-12-01 12:15:52 -0800
commit02ef02bfb533fcc3e27ce6ca227afbc54adb1aba (patch)
tree9cc72c3855e7515e8e1fda2f0ee88c8b55f66bd8 /src/lib/evil
parent12db3c2213b901dd55b58c28e0c7bd04cb4af68c (diff)
evil: better check of Windows 64 bits
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evil')
-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)
312 continue; 312 continue;
313 313
314#ifndef TIME_MAX 314#ifndef TIME_MAX
315# if INTPTR_MAX == 0xffffffffffffffff 315# ifdef _WIN64
316# define TIME_MAX INT64_MAX 316# define TIME_MAX INT64_MAX
317# else 317# else
318# define TIME_MAX INT32_MAX 318# define TIME_MAX INT32_MAX