Fix for windows
This commit is contained in:
parent
286b508f10
commit
750501c907
@ -2,6 +2,8 @@
|
||||
#include <stdio.h>
|
||||
#if defined(_MSC_VER) || defined(WIN32)
|
||||
#include <winsock2.h>
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <sys/select.h>
|
||||
|
@ -4,6 +4,7 @@
|
||||
#if defined(_MSC_VER) || defined(WIN32)
|
||||
#include <winsock2.h>
|
||||
#include "MD_AnsiCons.h"
|
||||
#define STDOUT_FILENO 1
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user