mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
C run-time: protect from Windows specific #includes with #ifdef __MINGW32__
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
#include <gu/str.h>
|
||||
#include <gu/assert.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
struct GuSeq {
|
||||
size_t len;
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
#include <gu/utf8.h>
|
||||
#include <gu/assert.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
struct GuStringBuf {
|
||||
GuBuf* buf;
|
||||
|
||||
@@ -14,7 +14,9 @@
|
||||
#include <gu/utf8.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
//
|
||||
// PgfReader
|
||||
|
||||
Reference in New Issue
Block a user