Browse Source

Cygwin workaround should only be applied if we compile with Cygwin

feature/2015
Christian Kroll 14 years ago
parent
commit
adfccca351
  1. 5
      scrolltext/scrolltext3.c

5
scrolltext/scrolltext3.c

@ -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"
#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 #define MAX_FONTS 1
font fonts[MAX_FONTS]; font fonts[MAX_FONTS];

Loading…
Cancel
Save