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:
meep-eep
2003-07-19 01:34:14 +00:00
parent 32eb481811
commit 3eac440c78
+1 -1
View File
@@ -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;