revert commenting of chdir on macOS
This commit is contained in:
parent
c4f3a1f936
commit
5bd2e96ece
|
@ -65,7 +65,7 @@ int main(int argc, char **argv)
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8 *)path, PATH_MAX))
|
if (CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8 *)path, PATH_MAX))
|
||||||
{
|
{
|
||||||
// chdir(path);
|
chdir(path);
|
||||||
printf("Current directory \"%s\"\n", path);
|
printf("Current directory \"%s\"\n", path);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue