Cygwin workaround should only be applied if we compile with Cygwin

This commit is contained in:
Christian Kroll 2010-08-28 15:13:19 +00:00
parent 36fceeb1b9
commit adfccca351
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@
#include "font_arial8.h"
// #include "font_small6.h"
// #include "font_uni53.h"
#define strtok_r(a, b, c) strtok((a), (b))
#ifdef __CYGWIN__
#define strtok_r(a, b, c) strtok((a), (b))
#endif
#define MAX_FONTS 1
font fonts[MAX_FONTS];