mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- fixed win32 compile errors
This commit is contained in:
@@ -741,6 +741,7 @@ bool fileExists(const string &path) {
|
||||
else {
|
||||
//int fileErrno = errno;
|
||||
#ifdef WIN32
|
||||
int fileErrno = errno;
|
||||
DWORD error = GetLastError();
|
||||
string strError = "Could not open file, result: " + intToStr(error) + " - " + intToStr(fileErrno) + " " + strerror(fileErrno) + " [" + path + "]";
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user