pcs 99/03/23 07:29:27
Modified: src/os/win32 apache.rc resource.h Log: Even though we didn't ask for it, the MSVC resource file has dependencies on MFC header files. Ugh. Even turning off MFC features via the GUI doesn't remove the #include, but it looks like all we need is the standard winresrc.h header file, so include that instead of the MFC header. Revision Changes Path 1.2 +2 -2 apache-1.3/src/os/win32/apache.rc Index: apache.rc =================================================================== RCS file: /export/home/cvs/apache-1.3/src/os/win32/apache.rc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- apache.rc 1999/03/19 14:00:18 1.1 +++ apache.rc 1999/03/23 15:29:26 1.2 @@ -7,7 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include "winresrc.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -55,7 +55,7 @@ 2 TEXTINCLUDE DISCARDABLE BEGIN - "#include ""afxres.h""\r\n" + "#include ""winresrc.h""\r\n" "\0" END 1.2 +1 -0 apache-1.3/src/os/win32/resource.h Index: resource.h =================================================================== RCS file: /export/home/cvs/apache-1.3/src/os/win32/resource.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- resource.h 1999/03/19 14:00:18 1.1 +++ resource.h 1999/03/23 15:29:26 1.2 @@ -8,6 +8,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NO_MFC 1 #define _APS_NEXT_RESOURCE_VALUE 102 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000