Fix compile error on Windows ARM64
This commit is contained in:
parent
57d39048c8
commit
e76e86ca4b
1 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue