aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2010-03-24 01:46:57 +0800
committerFridrich Strba <fridrich.strba@bluewin.ch>2010-03-24 01:46:57 +0800
commitaf5bfa98a8c7a11a345e2b7403b792ed970d5cef (patch)
tree0ef28fbd44e9ca724d9183a33bc0aa7682b8661c /filter
parentea1837378a80c79891202f1500fb2124de9bdbd6 (diff)
downloadgsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.gz
gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.zst
gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.zip
[win32] Avoid warnings about redefined localtime_r
Diffstat (limited to 'filter')
-rw-r--r--filter/e-filter-datespec.c3
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