[evolution-data-server] Avoid compiler warnings when HAVE_LOCALTIME_R is undefined



commit 9ad7861c1e33b6d5cdbae4863625625b931f1b68
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Thu Mar 25 06:22:50 2010 +0100

    Avoid compiler warnings when HAVE_LOCALTIME_R is undefined

 libedataserver/e-time-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libedataserver/e-time-utils.c b/libedataserver/e-time-utils.c
index 0935daa..eddb03a 100644
--- a/libedataserver/e-time-utils.c
+++ b/libedataserver/e-time-utils.c
@@ -209,7 +209,7 @@ enum ptime_locale_status { not, loc, raw };
 # endif  /* GCC.  */
 #endif  /* Not __P.  */
 
-#if !HAVE_LOCALTIME_R && !defined localtime_r
+#if !defined HAVE_LOCALTIME_R && !defined localtime_r
 # ifdef _LIBC
 #  define localtime_r __localtime_r
 # else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]