--- parser3/src/targets/apache/mod_parser3_core.C 2013/07/24 21:21:43 1.8 +++ parser3/src/targets/apache/mod_parser3_core.C 2013/07/24 21:45:19 1.10 @@ -5,7 +5,7 @@ Parser: apache 1.3/2.X module, part, com Author: Alexandr Petrosian (http://paf.design.ru) */ -volatile const char * IDENT_MOD_PARSER3_CORE_C="$Id: mod_parser3_core.C,v 1.8 2013/07/24 21:21:43 moko Exp $"; +volatile const char * IDENT_MOD_PARSER3_CORE_C="$Id: mod_parser3_core.C,v 1.10 2013/07/24 21:45:19 moko Exp $"; #include "pa_config_includes.h" @@ -20,6 +20,7 @@ volatile const char * IDENT_MOD_PARSER3_ #include "pa_socks.h" #if _MSC_VER && !defined(_DEBUG) +# include # define PA_SUPPRESS_SYSTEM_EXCEPTION #endif @@ -192,8 +193,10 @@ size_t SAPI::send_body(SAPI_Info& SAPI_i //@} #ifndef PA_DEBUG_DISABLE_GC +#ifndef _MSC_VER extern long GC_large_alloc_warn_suppressed; #endif +#endif /** main workhorse @@ -206,8 +209,10 @@ static void real_parser_handler(SAPI_Inf GC_dont_gc=0; GC_gcollect(); GC_dont_gc=1; +#ifndef _MSC_VER GC_large_alloc_warn_suppressed=0; #endif +#endif // populate env pa_ap_add_common_vars(SAPI_info.r);