diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:46:57 +0800 |
---|---|---|
committer | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-24 01:46:57 +0800 |
commit | af5bfa98a8c7a11a345e2b7403b792ed970d5cef (patch) | |
tree | 0ef28fbd44e9ca724d9183a33bc0aa7682b8661c | |
parent | ea1837378a80c79891202f1500fb2124de9bdbd6 (diff) | |
download | gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.gz gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.bz2 gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.lz gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.xz gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.tar.zst gsoc2013-evolution-af5bfa98a8c7a11a345e2b7403b792ed970d5cef.zip |
[win32] Avoid warnings about redefined localtime_r
-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 |