Changeset 3d6c7b


Ignore:
Timestamp:
05/17/10 11:41:43 (8 years ago)
Author:
Jayesh Krishna <jayesh@…>
Branches:
master, 3.1.x, 3.2.x, allgather-auto-selection
Children:
19034f
Parents:
beb15d
Message:

[svn-r6658] Removing winsock2 header file from hydra & including lean version of windows header file. This prevents re-decls of socket functions with gcc on cygwin. We need to check usability of winsock2 hdr before including it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pm/hydra/include/hydra_base.h

    rea2d8d r3d6c7b  
    1111#include "hydra_config.h" 
    1212 
    13 #if defined HAVE_WINSOCK2_H 
    14 #include <winsock2.h> 
    15 #endif /* HAVE_WINSOCK2_H */ 
    16  
    1713#if defined HAVE_WINDOWS_H 
     14#define WIN32_LEAN_AND_MEAN 
    1815#include <windows.h> 
    1916#endif /* HAVE_WINDOWS_H */ 
Note: See TracChangeset for help on using the changeset viewer.