MinGW compilation fixes.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1069 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -154,7 +154,7 @@ stdio_mkdir(uio_PDirHandle *pDirHandle, const char *name, mode_t mode) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mkdir(path, mode) == -1) {
|
if (MKDIR(path, mode) == -1) {
|
||||||
int saveErrno = errno;
|
int saveErrno = errno;
|
||||||
uio_free(path);
|
uio_free(path);
|
||||||
errno = saveErrno;
|
errno = saveErrno;
|
||||||
|
|||||||
Reference in New Issue
Block a user