summaryrefslogtreecommitdiffstats
path: root/server/gen_test_char.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/gen_test_char.c')
-rw-r--r--server/gen_test_char.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/gen_test_char.c b/server/gen_test_char.c
index ee4a69fb9c..a0b55100f4 100644
--- a/server/gen_test_char.c
+++ b/server/gen_test_char.c
@@ -29,8 +29,8 @@
#include "apr.h"
#include "apr_lib.h"
-#ifdef WIN32
-#define WANT_WIN32
+#if defined(WIN32) || defined(OS2)
+#define NEED_ENHANCED_ESCAPES
#endif
#endif
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
printf("\n ");
/* escape_shell_cmd */
-#if defined(WANT_WIN32) || defined(OS2)
+#ifdef NEED_ENHANCED_ESCAPES
/* Win32/OS2 have many of the same vulnerable characters
* as Unix sh, plus the carriage return and percent char.
* The proper escaping of these characters varies from unix