]> granicus.if.org Git - apache/commitdiff
After review and testing against all of the PSDK examples (see
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Apr 2002 22:23:06 +0000 (22:23 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 26 Apr 2002 22:23:06 +0000 (22:23 +0000)
  http://www.apache.org/~wrowe/ for commentary on building the
  examples and making them work) ... this disable-optimization
  should no longer be required.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94820 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/win32/mod_isapi.c

index 7a155129e3f587b9324e36d449f2551585dd212f..37fdf100ac26855df24f65161a54c3e0aa4a91ac 100644 (file)
@@ -121,16 +121,6 @@ BOOL WINAPI ServerSupportFunction (HCONN hConn, DWORD dwHSERequest,
                                    LPVOID lpvBuffer, LPDWORD lpdwSize,
                                    LPDWORD lpdwDataType);
 
-/*
-    The optimiser blows it totally here. What happens is that autos are addressed relative to the
-    stack pointer, which, of course, moves around. The optimiser seems to lose track of it somewhere
-    between setting HttpExtensionProc's address and calling through it. We work around the problem by 
-    forcing it to use frame pointers.
-
-    The revisions below may eliminate this artifact.
-*/
-#pragma optimize("y",off)
-
 /* Our isapi server config structure */
 
 typedef struct {
@@ -547,7 +537,6 @@ apr_status_t isapi_handler (request_rec *r)
     
     return OK;         /* NOT r->status, even if it has changed. */
 }
-#pragma optimize("",on)
 
 BOOL WINAPI GetServerVariable (HCONN hConn, LPSTR lpszVariableName,
                                LPVOID lpvBuffer, LPDWORD lpdwSizeofBuffer)