summaryrefslogtreecommitdiff
path: root/storage/maria/ma_test3.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_test3.c')
-rw-r--r--storage/maria/ma_test3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/maria/ma_test3.c b/storage/maria/ma_test3.c
index de8b4c83a51..8dd631380a0 100644
--- a/storage/maria/ma_test3.c
+++ b/storage/maria/ma_test3.c
@@ -15,7 +15,7 @@
/* Test av locking */
-#ifndef __NETWARE__
+#if !(defined (__NETWARE_) || defined (_WIN32)) /*no fork() in Windows*/
#include "maria.h"
#include <sys/types.h>
@@ -488,14 +488,14 @@ int test_update(MARIA_HA *file,int id,int lock_type)
return 0;
}
-#else /* __NETWARE__ */
+#else /* __NETWARE__ || __WIN__ */
#include <stdio.h>
-main()
+int main()
{
- fprintf(stderr,"this test has not been ported to NetWare\n");
+ fprintf(stderr,"this test has not been ported to Netware or Windows\n");
return 0;
}
-#endif /* __NETWARE__ */
+#endif /* __NETWARE__|| __WIN__ */