From 39563814ac9b8a8288c3a993968c92bdbaa88cea Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 29 Jan 2009 09:13:19 +0000 Subject: [PATCH] ebl Tweak compat.h for new mingw git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8410 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/compat/compat.h | 6 ++++++ bacula/technotes-2.5 | 2 ++ 2 files changed, 8 insertions(+) diff --git a/bacula/src/win32/compat/compat.h b/bacula/src/win32/compat/compat.h index fae82b6bd8..be55b8012a 100644 --- a/bacula/src/win32/compat/compat.h +++ b/bacula/src/win32/compat/compat.h @@ -74,8 +74,11 @@ typedef double float64_t; #endif #if !defined(_MSC_VER) || (_MSC_VER < 1400) // VC8+ +#ifndef _TIME_T_DEFINED +#define _TIME_T_DEFINED typedef long time_t; #endif +#endif #if __STDC__ && !defined(HAVE_MINGW) typedef _dev_t dev_t; @@ -129,9 +132,12 @@ typedef void DIR; #endif #endif +#ifndef _TIMEZONE_DEFINED /* also in sys/time.h */ +#define _TIMEZONE_DEFINED struct timezone { int foo; }; +#endif int strcasecmp(const char*, const char *); int gettimeofday(struct timeval *, struct timezone *); diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 0b7ab88dfa..799971e36d 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -10,6 +10,8 @@ filepattern (restore with regex in bsr) mixed priorities General: +29Jan09 +ebl Tweak compat.h for new mingw 28Jan09 ebl Add new ScratchPool directive to Pool. Thanks to Graham ebl Turn on db_get_file_list() single SQL because the failure -- 2.39.5