From: Guenter Knauf Date: Sun, 26 Sep 2010 10:04:39 +0000 (+0000) Subject: Small cleanup and macro rename to make clearer for what it is. X-Git-Tag: 2.3.9~418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17ca53578eda91f6084aeefcb4341ef3039a2b07;p=apache Small cleanup and macro rename to make clearer for what it is. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001398 13f79535-47bb-0310-9956-ffa450edef68 --- 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