]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl tweak bsmtp for mingw64
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 25 Mar 2009 13:10:47 +0000 (13:10 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 25 Mar 2009 13:10:47 +0000 (13:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8597 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/tools/bsmtp.c

index a139ba427ccce9249e63495e77044ac1ede6ef4e..3d19accd93705bdd0ee5f9dca4f467b5de1311cd 100644 (file)
@@ -212,7 +212,9 @@ static long tz_offset(time_t lnow, struct tm &tm)
 #if defined(HAVE_MINGW)
 __MINGW_IMPORT long     _dstbias;
 #endif
-
+#if defined(MINGW64)
+# define _tzset tzset
+#endif
    /* Win32 code */
    long offset;
    _tzset();