]> granicus.if.org Git - apache/commitdiff
Small cleanup and macro rename to make clearer for what it is.
authorGuenter Knauf <fuankg@apache.org>
Sun, 26 Sep 2010 10:04:39 +0000 (10:04 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sun, 26 Sep 2010 10:04:39 +0000 (10:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001398 13f79535-47bb-0310-9956-ffa450edef68

server/gen_test_char.c

index ee4a69fb9c3f7e7e044f0a041b25b328f8261be0..a0b55100f4ef9894bd0906ddc430cd40b6ea1ee8 100644 (file)
@@ -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