mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-02 00:19:00 +08:00
Fixed an error in mongoose.c that caused a lot of errors where winsock2.h was included after windows.h
This commit is contained in:
parent
b39426dbf7
commit
025cd283c4
@ -59,8 +59,8 @@
|
|||||||
|
|
||||||
#if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific
|
#if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific
|
||||||
#define _WIN32_WINNT 0x0400 // To make it link in VS2005
|
#define _WIN32_WINNT 0x0400 // To make it link in VS2005
|
||||||
#include <windows.h>
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#include <windows.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
|
Loading…
Reference in New Issue
Block a user