WIN32
This commit is contained in:
12
os/sysbits.h
12
os/sysbits.h
@@ -32,7 +32,7 @@
|
||||
#if _WIN32 || defined(__MINGW32__)
|
||||
#include <winsock2.h>
|
||||
/* Windows */
|
||||
#include "Shlwapi.h"
|
||||
#include "shlwapi.h"
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
@@ -40,6 +40,12 @@
|
||||
#define S_ISDIR(x) (((x)&_S_IFDIR) == _S_IFDIR)
|
||||
#endif
|
||||
#endif
|
||||
#ifndef BUF_SIZE
|
||||
#ifdef MAX_PATH
|
||||
#define BUF_SIZE MAX_PATH
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
@@ -115,6 +121,10 @@
|
||||
/* windows.h does not like absmi.h, this
|
||||
should fix it for now */
|
||||
#include <math.h>
|
||||
#include <math.h>
|
||||
#if HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
#if HAVE_SYS_TIME_H && !_MSC_VER
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user