Commit e60f8707 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Significantly shorten the Win32 build and shrink symbol tables
  for precompiled headers and debugging by eliminating large chunks
  of the windows.h declarations, especially the graphical user
  interface declarations.

  Also eliminates redundant inclusion of winsock and windows headers.
  As the GUI sections can be included by adding the windows.h include
  prior to any apr headers, these includes now imply something
  completely different.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85117 13f79535-47bb-0310-9956-ffa450edef68
parent 9dc15a10
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -63,12 +63,12 @@
 * default. We still want the server to run on Win95/98 so use 
 * runtime checks before calling NT specific functions to verify we are 
 * really running on an NT system.
 *
 * Delegate windows include to the apr.h header, if USER or GDI declarations
 * are required (for a window rather than console application), include
 * windows.h prior to any other Apache header files.
 */
#define _WIN32_WINNT 0x0400
#include "apr_general.h"
#include <windows.h>
#include <winsock2.h>
#include <mswsock.h>
#include <process.h>
#include <malloc.h>
#include <io.h>
+3 −4
Original line number Diff line number Diff line
@@ -56,15 +56,14 @@
 * University of Illinois, Urbana-Champaign.
 */

#include <windows.h>
#include "httpd.h"
#include "http_log.h"

#include <sys/stat.h>
#include <stdarg.h>
#include <time.h>
#include <stdlib.h>

#include "httpd.h"
#include "http_log.h"

/* Returns TRUE if the input string is a string
 * of one or more '.' characters.
 */
+1 −3
Original line number Diff line number Diff line
@@ -82,10 +82,8 @@
 * 
 * HKLM\Software\[Vendor]\[Software]\[Version]\ServerRoot
 */
#include "os.h"
//#include <windows.h>
//#include <stdio.h>

#include "os.h"
#include "httpd.h"
#include "http_log.h"