diff options
-rw-r--r-- | filter/e-filter-datespec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/e-filter-datespec.c b/filter/e-filter-datespec.c index 00aaad7e01..6ceb09450f 100644 --- a/filter/e-filter-datespec.c +++ b/filter/e-filter-datespec.c @@ -41,6 +41,9 @@ #include "e-filter-part.h" #ifdef G_OS_WIN32 +#ifdef localtime_r +#undef localtime_r +#endif #define localtime_r(tp,tmp) memcpy(tmp,localtime(tp),sizeof(struct tm)) #endif |