• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff -r -u ./fixed_gif_font.c ./gif_font.c
2--- ./fixed_gif_font.c	2019-09-05 11:05:25.009598262 -0700
3+++ ./gif_font.c	2019-09-05 10:52:45.308389085 -0700
4@@ -11,6 +11,11 @@
5
6 #include "gif_lib.h"
7
8+// Windows doesn't have strtok_r.
9+#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
10+#define strtok_r strtok_s
11+#endif
12+
13 /*****************************************************************************
14  Ascii 8 by 8 regular font - only first 128 characters are supported.
15 *****************************************************************************/
16