1
0
forked from GitHub/gf-core

minimal changes to make the runtime compilable on Windows

This commit is contained in:
krangelov
2021-11-10 15:52:02 +01:00
parent 81eb2217ac
commit c806ce2d26
6 changed files with 99 additions and 28 deletions

View File

@@ -8,6 +8,10 @@
#include "pgf.h"
#ifdef _WIN32
#include <windows.h>
#endif
class PGF_INTERNAL_DECL pgf_error : public std::runtime_error {
public:
pgf_error(const char *msg) : std::runtime_error(msg)