diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2017-12-28 13:20:44 +0200 |
|---|---|---|
| committer | Inari Listenmaa <inari.listenmaa@gmail.com> | 2017-12-28 13:20:44 +0200 |
| commit | ced0bff5c7d3e947390b51e3c5e03fc521f22feb (patch) | |
| tree | 500fb84dc12803ebe15123588b28b7a6d4afcfcf /src/runtime/c/pgf | |
| parent | ef1b67356d598a341ace23264771aeb82ed342f2 (diff) | |
| parent | e2ec40a22f1ac754413828212f0468358ffc3936 (diff) | |
Merge remote-tracking branch 'origin/master' into basque
Diffstat (limited to 'src/runtime/c/pgf')
| -rw-r--r-- | src/runtime/c/pgf/lookup.c | 3 | ||||
| -rw-r--r-- | src/runtime/c/pgf/pgf.h | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/lookup.c b/src/runtime/c/pgf/lookup.c index f6f2d4da4..21c82450f 100644 --- a/src/runtime/c/pgf/lookup.c +++ b/src/runtime/c/pgf/lookup.c @@ -9,6 +9,9 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> +#if defined(__MINGW32__) || defined(_MSC_VER) +#include <malloc.h> +#endif //#define PGF_LOOKUP_DEBUG //#define PGF_LINEARIZER_DEBUG diff --git a/src/runtime/c/pgf/pgf.h b/src/runtime/c/pgf/pgf.h index d4cc63097..6dd040b49 100644 --- a/src/runtime/c/pgf/pgf.h +++ b/src/runtime/c/pgf/pgf.h @@ -19,6 +19,14 @@ #define PGF_INTERNAL_DECL #define PGF_INTERNAL +#elif defined(__MINGW32__) + +#define PGF_API_DECL +#define PGF_API + +#define PGF_INTERNAL_DECL +#define PGF_INTERNAL + #else #define PGF_API_DECL |
