From: Frederic Bouvier Date: Sat, 6 Aug 2011 14:26:21 +0000 (+0200) Subject: Fix issue #392: mktime takes a localtime as input. Assumption that if HAVE_DAYLIGHT... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=88e2cdd283f9771fec10ef542143ca5fad77b0df;p=simgear.git Fix issue #392: mktime takes a localtime as input. Assumption that if HAVE_DAYLIGHT is missing imply that mktime takes a gmt time is wrong (sg_time.cxx, line 482) --- diff --git a/simgear/simgear_config.h-msvc90 b/simgear/simgear_config.h-msvc90 index 247d7a89..5fa33410 100644 --- a/simgear/simgear_config.h-msvc90 +++ b/simgear/simgear_config.h-msvc90 @@ -151,6 +151,7 @@ #define HAVE_MEMORY_H 1 #define HAVE_MEMCPY 1 +#define HAVE_DAYLIGHT 1 #define GLUT_H