Commits (1)
  • Deucе's avatar
    Add DISABLE_MKSTEMP_DEFINE support · cb76b146
    Deucе authored
    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.
    cb76b146
......@@ -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__)
......