Fix compile error on Windows ARM64

This commit is contained in:
Magnus Norddahl 2024-06-20 18:11:58 +02:00
commit e76e86ca4b

View file

@ -49,6 +49,11 @@
#include <dirent.h>
#else
#include <windows.h>
#include <direct.h>
#endif
namespace FileSys {
@ -203,9 +208,6 @@ static size_t FS_GetFileSize(findstate_t* handle, const char* pathname)
#else
#include <windows.h>
#include <direct.h>
std::wstring toWide(const char* str)
{
int len = (int)strlen(str);