git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1645
91ce42f0-d328-0410-95d8-
f526ca767f89
}
}
-#ifdef WIN32
+#if HAVE_WIN32 && !HAVE_CONSOLE && !HAVE_WXCONSOLE
extern long _timezone;
extern int _daylight;
extern long _dstbias;
struct tm tm;
int n = 0;
-#ifdef WIN32
+#if HAVE_WIN32 && !HAVE_CONSOLE && !HAVE_WXCONSOLE
/*
* Gross kludge to avoid a seg fault in Microsoft's CRT localtime_r(),
* which incorrectly references a NULL returned from gmtime() if