diff options
Diffstat (limited to 'hangul/hanja.c')
-rw-r--r-- | hangul/hanja.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hangul/hanja.c b/hangul/hanja.c index 0cbe347..0bed47f 100644 --- a/hangul/hanja.c +++ b/hangul/hanja.c @@ -22,7 +22,12 @@ #include <sys/types.h> #include <sys/stat.h> +#ifndef _WIN32 #include <unistd.h> +#else +#include <io.h> +#define strtok_r strtok_s +#endif #ifdef HAVE_MMAP #include <sys/mman.h> |