mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
an attempt to fix the compilation on Mac
This commit is contained in:
@@ -12,6 +12,11 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <sys/errno.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
|
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
pgf_error(const char *msg) : std::runtime_error(msg)
|
pgf_error(const char *msg) : std::runtime_error(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user