1
0
forked from GitHub/gf-core

added checks to control compilation with emscripten

This commit is contained in:
Krasimir Angelov
2022-07-04 14:26:04 +02:00
parent feb9b3373f
commit 96304a52d1
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,10 @@
#include <sys/errno.h>
#endif
#ifdef EMSCRIPTEN
#include <errno.h>
#include <stdio.h>
#endif
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
public: