From c507e8186f8bdffef05dc075e210bdbb2307aec7 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 25 Mar 2009 13:10:47 +0000 Subject: [PATCH] ebl tweak bsmtp for mingw64 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8597 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/tools/bsmtp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.5