mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-05 03:35:27 -07:00
an attempt to fix the compilation on Mac
This commit is contained in:
1 parent
a216c1aa6d
commit
c36d804c11
1 file changed
+5
@@ -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