Cygwin workaround should only be applied if we compile with Cygwin
This commit is contained in:
parent
36fceeb1b9
commit
adfccca351
|
@ -15,7 +15,10 @@
|
||||||
#include "font_arial8.h"
|
#include "font_arial8.h"
|
||||||
// #include "font_small6.h"
|
// #include "font_small6.h"
|
||||||
// #include "font_uni53.h"
|
// #include "font_uni53.h"
|
||||||
|
|
||||||
|
#ifdef __CYGWIN__
|
||||||
#define strtok_r(a, b, c) strtok((a), (b))
|
#define strtok_r(a, b, c) strtok((a), (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAX_FONTS 1
|
#define MAX_FONTS 1
|
||||||
font fonts[MAX_FONTS];
|
font fonts[MAX_FONTS];
|
||||||
|
|
Loading…
Reference in New Issue