DEVTOOLS: Fix create_project build with MinGW64

This commit is contained in:
Bastien Bouclet 2016-07-07 07:49:18 +02:00
parent 6a3e07dca5
commit e1c186e85f

View file

@ -54,7 +54,7 @@
#define USE_WIN32_API
#endif
#ifdef USE_WIN32_API
#if (defined(_WIN32) || defined(WIN32))
#include <windows.h>
#else
#include <sstream>
@ -1212,7 +1212,7 @@ bool compareNodes(const FileNode *l, const FileNode *r) {
FileList listDirectory(const std::string &dir) {
FileList result;
#ifdef USE_WIN32_API
#if defined(_WIN32) || defined(WIN32)
WIN32_FIND_DATA fileInformation;
HANDLE fileHandle = FindFirstFile((dir + "/*").c_str(), &fileInformation);