From: Eric Bollengier Date: Wed, 25 Mar 2009 13:10:47 +0000 (+0000) Subject: ebl tweak bsmtp for mingw64 X-Git-Tag: Release-7.0.0~3257 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c507e8186f8bdffef05dc075e210bdbb2307aec7;p=bacula%2Fbacula ebl tweak bsmtp for mingw64 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8597 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/tools/bsmtp.c b/bacula/src/tools/bsmtp.c index a139ba427c..3d19accd93 100644 --- a/bacula/src/tools/bsmtp.c +++ b/bacula/src/tools/bsmtp.c @@ -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();