Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 27c79cad authored by Rob Swindell's avatar Rob Swindell 💬

Create a Win32 wrapper for mkstemp() as MSVC doesn't have it

SBBSecho uses mkstemp() now (instead of tempnam()) - so we need this POSIX function wrapper for Windows builds to succeed.
parent 1031d0f6
Pipeline #2260 passed with stage
in 7 minutes and 32 seconds
......@@ -71,6 +71,8 @@
#define ftello ftell
#endif
#define mkstemp(t) _open(_mktemp(t), O_RDWR | O_CREAT | O_EXCL)
#elif defined(__unix__)
#ifdef __solaris__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment