comparison th_util.h @ 483:85039ab7e6ab

Add simplistic support for DJGPP/DOS.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Feb 2019 06:12:18 +0200
parents e4ce60239d16
children 41c1d786ff08
comparison
equal deleted inserted replaced
482:1013ddd2759b 483:85039ab7e6ab
12 #include "config.h" 12 #include "config.h"
13 #endif 13 #endif
14 14
15 #if defined(__WIN64) || defined(_WIN64) || defined(__WIN32) || defined(_WIN32) 15 #if defined(__WIN64) || defined(_WIN64) || defined(__WIN32) || defined(_WIN32)
16 # define TH_PLAT_WINDOWS 1 16 # define TH_PLAT_WINDOWS 1
17 #elif defined(__DJGPP__) && __DJGPP__ >= 2
18 # define TH_PLAT_DOS 1
19 # undef __STRICT_ANSI__
17 #else 20 #else
18 # define TH_PLAT_UNIX 1 21 # define TH_PLAT_UNIX 1
19 #endif 22 #endif
20 23
21 #include "th_types.h" 24 #include "th_types.h"