mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Zipped output and tryfixes for linux and mac build.
This commit is contained in:
parent
e36164c76b
commit
73b861287c
2 changed files with 38 additions and 15 deletions
|
@ -16,7 +16,9 @@
|
|||
#include <agg/agg_path_storage.h>
|
||||
|
||||
// For png compression
|
||||
#if defined(WIN32) || defined(__APPLE__ )
|
||||
#if !defined(__linux__) || \
|
||||
(defined(__linux__) && ((_POSIX_C_SOURCE >= 200112L || \
|
||||
_XOPEN_SOURCE >= 600) && ! _GNU_SOURCE))
|
||||
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