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
diff --git a/testModule.c b/testModule.c
index fecc852..8293c45 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) {