mirror of
https://github.com/webui-dev/webui.git
synced 2024-10-26 23:43:43 +03:00
Merge pull request #403 from ttytm/fix/dirent-conflict
Fix conflict with including dirent
This commit is contained in:
commit
4f2ccfb834
@ -47,9 +47,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#if defined(__GNUC__) || defined(__TINYC__)
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
||||
// -- Windows -------------------------
|
||||
#ifdef _WIN32
|
||||
@ -58,6 +55,9 @@
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#if defined(__GNUC__) || defined(__TINYC__)
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
|
Loading…
Reference in New Issue
Block a user