1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Fix some iOS build warnings

This commit is contained in:
hogliux 2015-08-24 11:44:23 +01:00
parent 4ef190cc5e
commit fb8a1dbf48
2 changed files with 4 additions and 4 deletions

View file

@ -106,8 +106,7 @@ namespace FileHelpers
return nsStringToJuce ([NSSearchPathForDirectoriesInDomains (type, NSUserDomainMask, YES)
objectAtIndex: 0]);
}
#endif
#else
static bool launchExecutable (const String& pathAndArguments)
{
const char* const argv[4] = { "/bin/sh", "-c", pathAndArguments.toUTF8(), 0 };
@ -128,6 +127,7 @@ namespace FileHelpers
return true;
}
#endif
}
bool File::isOnCDRomDrive() const