summaryrefslogtreecommitdiff
path: root/testModule.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-02-25 15:44:43 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-02-25 15:44:43 +0000
commit70e20add808a82294e32c6392c15163a4cafadff (patch)
tree9d3202f5010db192e3937eed8c36bd3609abad5a /testModule.c
parent3066351275d72ff2ae8db57213084bb1719f5a46 (diff)
downloadlibxml2-70e20add808a82294e32c6392c15163a4cafadff.tar.gz
patch from Florent Guiliani to fix build on SCO OpenServer daniel
* testModule.c: patch from Florent Guiliani to fix build on SCO OpenServer daniel svn path=/trunk/; revision=3698
Diffstat (limited to 'testModule.c')
-rw-r--r--testModule.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/testModule.c b/testModule.c
index fecc8523..8293c456 100644
--- a/testModule.c
+++ b/testModule.c
@@ -29,6 +29,15 @@
#define MODULE_PATH ".libs"
#endif
+/* Used for SCO Openserver*/
+#ifndef PATH_MAX
+#ifdef _POSIX_PATH_MAX
+#define PATH_MAX _POSIX_PATH_MAX
+#else
+#define PATH_MAX 4096
+#endif
+#endif
+
typedef int (*hello_world_t)(void);
int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {