mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64.
This commit is contained in:
parent
2be366e05d
commit
a0fe037077
5 changed files with 9 additions and 16 deletions
|
@ -22,14 +22,8 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#if defined(__WIN64__)
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#else
|
||||
/* mingw32 wants winsock2.h before windows.h */
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#define EXPOSE_NSFileHandle_IVARS 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue