summaryrefslogtreecommitdiff
path: root/testModule.c
diff options
context:
space:
mode:
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 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) {