summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2007-08-23 09:46:25 +0000
committerDaniel Veillard <veillard@src.gnome.org>2007-08-23 09:46:25 +0000
commit37bff372e6ce1a6fa24e3692cb6326d70c8d239e (patch)
tree19556be0778fa5fc9d428e963bd2ff7e74a189db
parentabab6b982ab53ff8df6d7ccc552e27952bc8e14c (diff)
downloadlibxslt-37bff372e6ce1a6fa24e3692cb6326d70c8d239e.tar.gz
libxslt-37bff372e6ce1a6fa24e3692cb6326d70c8d239e.tar.bz2
libxslt-37bff372e6ce1a6fa24e3692cb6326d70c8d239e.zip
apply patch from Björn Wiberg fixing build on AIX and closing bug #332173
* libexslt/date.c: apply patch from Björn Wiberg fixing build on AIX and closing bug #332173 Daniel svn path=/trunk/; revision=1437
-rw-r--r--ChangeLog5
-rw-r--r--libexslt/date.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d15e0aa..e03ba465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 23 11:47:20 CEST 2007 Daniel Veillard <daniel@veillard.com>
+
+ * libexslt/date.c: apply patch from Björn Wiberg fixing build on AIX
+ and closing bug #332173
+
Fri Aug 3 15:49:26 CEST 2007 Daniel Veillard <daniel@veillard.com>
* win32/Makefile.msvc win32/configure.js: apply patch from
diff --git a/libexslt/date.c b/libexslt/date.c
index 257dbf54..2325de33 100644
--- a/libexslt/date.c
+++ b/libexslt/date.c
@@ -29,8 +29,10 @@
#endif
#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
+#ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
#endif
+#endif
#include <libxml/tree.h>
#include <libxml/xpath.h>