Add macOS to some Linux/Android-only-isms
This commit is contained in:
parent
5aba89091e
commit
23c8a5588d
5 changed files with 7 additions and 13 deletions
|
|
@ -1161,7 +1161,7 @@ std::unique_ptr<ByteStream> ByteStream_OpenFileStream(const char* fileName, u32
|
|||
std::snprintf(temporaryFileName, fileNameLength + 8, "%s.XXXXXX", fileName);
|
||||
|
||||
// fill in random characters
|
||||
#if defined(__linux__) || defined(__ANDROID__)
|
||||
#if defined(__linux__) || defined(__ANDROID__) || defined(__APPLE__)
|
||||
mkstemp(temporaryFileName);
|
||||
#else
|
||||
mktemp(temporaryFileName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue