Fix conflict with including dirent

This commit is contained in:
Turiiya 2024-06-09 20:47:17 +02:00
parent 561c044924
commit 45c973a387

View File

@ -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>