an attempt to fix the compilation on Mac

This commit is contained in:
Krasimir Angelov
2022-01-11 14:57:41 +01:00
parent a216c1aa6d
commit c36d804c11

View File

@@ -12,6 +12,11 @@
#include <windows.h>
#endif
#ifdef __APPLE__
#include <sys/errno.h>
#endif
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
public:
pgf_error(const char *msg) : std::runtime_error(msg)