summaryrefslogtreecommitdiff
path: root/extra/mysql_waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mysql_waitpid.c')
-rw-r--r--extra/mysql_waitpid.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/mysql_waitpid.c b/extra/mysql_waitpid.c
index 007db959111..bff1752ec21 100644
--- a/extra/mysql_waitpid.c
+++ b/extra/mysql_waitpid.c
@@ -16,6 +16,8 @@
/* Wait until a program dies */
+#ifndef __NETWARE__
+
#include <my_global.h>
#include <m_string.h>
#include <my_getopt.h>
@@ -101,3 +103,15 @@ void usage(void)
my_print_help(my_long_options);
exit(-1);
}
+
+#else
+
+#include <stdio.h>
+
+main()
+{
+ fprintf(stderr,"This tool has not been ported to NetWare\n");
+ return 0;
+}
+
+#endif /* __NETWARE__ */