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/gu | |
| parent | ef1b67356d598a341ace23264771aeb82ed342f2 (diff) | |
| parent | e2ec40a22f1ac754413828212f0468358ffc3936 (diff) | |
Merge remote-tracking branch 'origin/master' into basque
Diffstat (limited to 'src/runtime/c/gu')
| -rw-r--r-- | src/runtime/c/gu/defs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime/c/gu/defs.h b/src/runtime/c/gu/defs.h index 6b531979c..f5472a414 100644 --- a/src/runtime/c/gu/defs.h +++ b/src/runtime/c/gu/defs.h @@ -23,6 +23,14 @@ #define restrict __restrict +#elif defined(__MINGW32__) + +#define GU_API_DECL +#define GU_API + +#define GU_INTERNAL_DECL +#define GU_INTERNAL + #else #define GU_API_DECL @@ -30,7 +38,9 @@ #define GU_INTERNAL_DECL __attribute__ ((visibility ("hidden"))) #define GU_INTERNAL __attribute__ ((visibility ("hidden"))) + #endif + // end MSVC workaround #include <stddef.h> |
