mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Fix a couple of "#ifdef WIN32" instances
This commit is contained in:
parent
d1976f8ec4
commit
88ecda3bbb
@ -171,7 +171,7 @@ main(int c, char **v) {
|
||||
++idx;
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
{
|
||||
WSADATA WSAData;
|
||||
WSAStartup(0x101, &WSAData);
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user