mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
OSX and linux build fixes
This commit is contained in:
parent
1f01dbb1ec
commit
e36164c76b
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
#include <agg/agg_path_storage.h>
|
||||
|
||||
// For png compression
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(__APPLE__ )
|
||||
inline char *strerror_r(int errnum, char *buf, size_t buflen) {
|
||||
strerror_s(buf, buflen, errnum);
|
||||
return buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue