Move additional includes out of the FileSys namespace.
This commit is contained in:
parent
b44f8f0cc9
commit
30a7ccb7da
1 changed files with 5 additions and 3 deletions
|
|
@ -48,6 +48,11 @@
|
|||
#include <fnmatch.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#else
|
||||
|
||||
#include <windows.h>
|
||||
#include <direct.h>
|
||||
|
||||
#endif
|
||||
|
||||
namespace FileSys {
|
||||
|
|
@ -202,9 +207,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