Whoops. Forgot to declare a variable.
This commit is contained in:
parent
f0c09894c8
commit
3deb942440
|
@ -461,6 +461,7 @@ char *__PHYSFS_platformRealPath(const char *path)
|
||||||
|
|
||||||
int __PHYSFS_platformMkDir(const char *path)
|
int __PHYSFS_platformMkDir(const char *path)
|
||||||
{
|
{
|
||||||
|
int rc;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
rc = mkdir(path, S_IRWXU);
|
rc = mkdir(path, S_IRWXU);
|
||||||
BAIL_IF_MACRO(rc == -1, strerror(errno), 0);
|
BAIL_IF_MACRO(rc == -1, strerror(errno), 0);
|
||||||
|
|
Loading…
Reference in New Issue