summaryrefslogtreecommitdiff
path: root/gdate.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1999-01-26 13:17:46 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1999-01-26 13:17:46 +0000
commitd60b23eb028090f35fb925c845b0bad0d99d1e49 (patch)
tree744b58f348d665f647fa1bbeda99a7326b758cb9 /gdate.c
parent427345f568237ec7e2701d38b60cf1df82694d5f (diff)
downloadglib-d60b23eb028090f35fb925c845b0bad0d99d1e49.tar.gz
Removed the #warning about MT unsafety without localtime_r.
1999-01-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdate.c (g_date_set_time): Removed the #warning about MT unsafety without localtime_r. * configure.in: Moved it here.
Diffstat (limited to 'gdate.c')
-rw-r--r--gdate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdate.c b/gdate.c
index 403aeb2ec..c3b7b3186 100644
--- a/gdate.c
+++ b/gdate.c
@@ -801,10 +801,6 @@ g_date_set_time (GDate *d,
#ifdef HAVE_LOCALTIME_R
localtime_r (&t, &tm);
#else
-# if defined(G_THREADS_ENABLED) && defined(__GNUC__)
-# warning "the `g_date_set_time' function will not be MT-safe"
-# warning "because there is no `localtime_r' on your system."
-# endif
{
struct tm *ptm = localtime (&t);
g_assert (ptm);