mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
silence some warnings on MINGW32
This commit is contained in:
@@ -23,6 +23,14 @@
|
|||||||
|
|
||||||
#define restrict __restrict
|
#define restrict __restrict
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
|
||||||
|
#define GU_API_DECL
|
||||||
|
#define GU_API
|
||||||
|
|
||||||
|
#define GU_INTERNAL_DECL
|
||||||
|
#define GU_INTERNAL
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define GU_API_DECL
|
#define GU_API_DECL
|
||||||
@@ -30,7 +38,9 @@
|
|||||||
|
|
||||||
#define GU_INTERNAL_DECL __attribute__ ((visibility ("hidden")))
|
#define GU_INTERNAL_DECL __attribute__ ((visibility ("hidden")))
|
||||||
#define GU_INTERNAL __attribute__ ((visibility ("hidden")))
|
#define GU_INTERNAL __attribute__ ((visibility ("hidden")))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// end MSVC workaround
|
// end MSVC workaround
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|||||||
@@ -19,6 +19,14 @@
|
|||||||
#define PGF_INTERNAL_DECL
|
#define PGF_INTERNAL_DECL
|
||||||
#define PGF_INTERNAL
|
#define PGF_INTERNAL
|
||||||
|
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
|
||||||
|
#define PGF_API_DECL
|
||||||
|
#define PGF_API
|
||||||
|
|
||||||
|
#define PGF_INTERNAL_DECL
|
||||||
|
#define PGF_INTERNAL
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define PGF_API_DECL
|
#define PGF_API_DECL
|
||||||
|
|||||||
Reference in New Issue
Block a user