comparison th_util.h @ 573:7c0aa6bf484a

Improve system bit-ness handling and target platform.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 16:53:16 +0200
parents 262411458cde
children 70d44ba005ac
comparison
equal deleted inserted replaced
572:6d2d3b512750 573:7c0aa6bf484a
8 #ifndef TH_UTIL_H 8 #ifndef TH_UTIL_H
9 #define TH_UTIL_H 9 #define TH_UTIL_H
10 10
11 #ifdef HAVE_CONFIG_H 11 #ifdef HAVE_CONFIG_H
12 #include "config.h" 12 #include "config.h"
13 #endif
14
15 #if defined(__WIN64) || defined(_WIN64) || defined(__WIN32) || defined(_WIN32)
16 # define TH_PLAT_WINDOWS 1
17 #elif defined(__DJGPP__) && __DJGPP__ >= 2
18 # define TH_PLAT_DOS 1
19 # undef __STRICT_ANSI__
20 #else
21 # define TH_PLAT_UNIX 1
22 #endif 13 #endif
23 14
24 #include "th_types.h" 15 #include "th_types.h"
25 #include <stdio.h> 16 #include <stdio.h>
26 #include <stdarg.h> 17 #include <stdarg.h>