summaryrefslogtreecommitdiff
path: root/test/testdso.c
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2001-08-28 14:37:14 +0000
committerBradley Nicholes <bnicholes@apache.org>2001-08-28 14:37:14 +0000
commitf93bae014685024ed58447d39699ff7bc56ccd55 (patch)
tree8a4c572d93da9f52199d388efafd43d55be663ec /test/testdso.c
parentdf1db1446f42824bd804c65be4c7ef71d6c643ff (diff)
downloadapr-f93bae014685024ed58447d39699ff7bc56ccd55.tar.gz
Added an #ifdef for NetWare to rename to loadable module to MOD_TEST.NLM.
This is only because NetWare expects the general purpose executibles to be named with a .NLM extension. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testdso.c')
-rw-r--r--test/testdso.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testdso.c b/test/testdso.c
index 428347597..06f6d4a97 100644
--- a/test/testdso.c
+++ b/test/testdso.c
@@ -9,7 +9,11 @@
#include <unistd.h>
#endif
+#ifdef NETWARE
+#define LIB_NAME "mod_test.nlm"
+#else
#define LIB_NAME "mod_test.so"
+#endif
int main (int argc, char ** argv)
{