From 58ac8207eccbaf056cb1ae7a046bdef48a2483ad Mon Sep 17 00:00:00 2001 From: click Date: Wed, 27 Feb 2013 22:31:25 +0100 Subject: Core: Add support for compiling core in a cygwin-environment - rename/readd/add G3D-patches - give a history on the changes (some G3D-changes didn't even HAVE a patch - boo!) DON'T MESS ABOUT WITH CHANGING DEP/* LIBRARIES AND NOT LEAVING A DIFF IN THE SOURCETRE, MKAY!? --- dep/g3dlite/source/System.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dep/g3dlite/source/System.cpp') diff --git a/dep/g3dlite/source/System.cpp b/dep/g3dlite/source/System.cpp index 809f05c0ab4..f6b0e038f27 100644 --- a/dep/g3dlite/source/System.cpp +++ b/dep/g3dlite/source/System.cpp @@ -888,7 +888,11 @@ void System::initTime() { if (localTimeVals) { // tm_gmtoff is already corrected for daylight savings. + #ifdef __CYGWIN__ + local = local + _timezone; + #else local = local + localTimeVals->tm_gmtoff; + #endif } m_realWorldGetTickTime0 = local; -- cgit v1.2.3