mturk       2005/02/15 03:43:15

  Modified:    jk/native/common jk_global.h
  Log:
  The saga continues. Remove CRLFs, again :).
  
  Revision  Changes    Path
  1.43      +28 -28    jakarta-tomcat-connectors/jk/native/common/jk_global.h
  
  Index: jk_global.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_global.h,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- jk_global.h       15 Feb 2005 11:40:00 -0000      1.42
  +++ jk_global.h       15 Feb 2005 11:43:15 -0000      1.43
  @@ -61,33 +61,33 @@
   #include <sys/stat.h>
   
   #ifdef WIN32
  -#ifndef _WINDOWS_

  -#ifndef WIN32_LEAN_AND_MEAN

  -#define WIN32_LEAN_AND_MEAN

  -#endif

  -#ifndef _WIN32_WINNT

  -

  -/* Restrict the server to a subset of Windows NT 4.0 header files by default

  - */

  -#define _WIN32_WINNT 0x0400

  -#endif

  -#ifndef NOUSER

  -#define NOUSER

  -#endif

  -#ifndef NOMCX

  -#define NOMCX

  -#endif

  -#ifndef NOIME

  -#define NOIME

  -#endif

  -#include <windows.h>

  -/* 

  - * Add a _very_few_ declarations missing from the restricted set of headers

  - * (If this list becomes extensive, re-enable the required headers above!)

  - * winsock headers were excluded by WIN32_LEAN_AND_MEAN, so include them now

  - */

  -#include <winsock2.h>

  -#include <mswsock.h>

  +#ifndef _WINDOWS_
  +#ifndef WIN32_LEAN_AND_MEAN
  +#define WIN32_LEAN_AND_MEAN
  +#endif
  +#ifndef _WIN32_WINNT
  +
  +/* Restrict the server to a subset of Windows NT 4.0 header files by default
  + */
  +#define _WIN32_WINNT 0x0400
  +#endif
  +#ifndef NOUSER
  +#define NOUSER
  +#endif
  +#ifndef NOMCX
  +#define NOMCX
  +#endif
  +#ifndef NOIME
  +#define NOIME
  +#endif
  +#include <windows.h>
  +/* 
  + * Add a _very_few_ declarations missing from the restricted set of headers
  + * (If this list becomes extensive, re-enable the required headers above!)
  + * winsock headers were excluded by WIN32_LEAN_AND_MEAN, so include them now
  + */
  +#include <winsock2.h>
  +#include <mswsock.h>
   #include <ws2tcpip.h>
   #endif
   #include <sys/timeb.h>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to