Skip to content
Snippets Groups Projects
Commit 1fadf55a authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add DISABLE_MKSTEMP_DEFINE support

This macro as written won't compile on mingw32 due to the attributes
on _mktemp().  This could be worked around, but it's easier to just
disable it since I don't need it, and nobody else is building with
mingw32.
parent c60e26d5
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,9 @@
#define ftello ftell
#endif
#ifndef DISABLE_MKSTEMP_DEFINE
#define mkstemp(t) _open(_mktemp(t), O_RDWR | O_CREAT | O_EXCL)
#endif
#elif defined(__unix__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment