Clang windows improvements.

This commit is contained in:
Y_Less 2021-04-26 01:46:45 +01:00
parent bde4cd742c
commit 069bc30c24
3 changed files with 4 additions and 7 deletions

View File

@ -38,8 +38,7 @@
#endif
#if defined __WIN32__ || defined _Windows
#include <windows.h>
#endif
#if defined __GNUC__ || defined __clang__
#elif defined __GNUC__ || defined __clang__
#include <unistd.h>
#endif
#include "amx.h"

View File

@ -60,12 +60,11 @@
#else
#include <io.h>
#endif
#if defined __GNUC__ || defined __clang__
#include <unistd.h>
#endif
#include "amx.h"
#if defined __WIN32__ || defined _Windows
#include <windows.h>
#elif defined __GNUC__ || defined __clang__
#include <unistd.h>
#endif
#include "fpattern.c"

View File

@ -23,8 +23,7 @@
#if defined __WIN32__ || defined _WIN32 || defined _Windows
#include <windows.h>
#include <mmsystem.h>
#endif
#if defined __GNUC__ || defined __clang__
#elif defined __GNUC__ || defined __clang__
#include <sys/time.h>
#endif