fixing a small portability problem on Solaris for the declaration of
authorDaniel Veillard <veillard@src.gnome.org>
Sun, 16 May 2004 22:09:35 +0000 (22:09 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Sun, 16 May 2004 22:09:35 +0000 (22:09 +0000)
* libexslt/date.h: fixing a small portability problem on Solaris
  for the declaration of localtime_r bug #140468
Daniel

ChangeLog
libexslt/date.c

index 6839b4f..e3d0d59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun May 16 18:09:36 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/date.h: fixing a small portability problem on Solaris
+         for the declaration of localtime_r bug #140468
+
 Sun May 16 16:36:38 CEST 2004 Daniel Veillard <daniel@veillard.com>
 
        * libxslt.m4: applied patch from Edward Rudd to fix the problems
index a15a61e..1bea2d2 100644 (file)
 #include <math.h>
 #endif
 
+/* needed to get localtime_r on Solaris */
+#ifdef sun
+#ifndef __EXTENSION__
+#define __EXTENSION__
+#endif
+#endif
+
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif