diff options
Diffstat (limited to 'config-win32.h')
-rw-r--r-- | config-win32.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/config-win32.h b/config-win32.h index 1245ba2..dd95525 100644 --- a/config-win32.h +++ b/config-win32.h @@ -211,6 +211,11 @@ /* Define to the return type of signal handlers (int or void). */ #define RETSIGTYPE void +#ifdef __cplusplus +/* Compiling headers in C++ mode means bool is available */ +#define HAVE_BOOL_T +#endif + /* Define if ssize_t is not an available 'typedefed' type. */ #ifndef _SSIZE_T_DEFINED # if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \ @@ -229,19 +234,6 @@ /* TYPE SIZES */ /* ---------------------------------------------------------------- */ -/* Define to the size of `int', as computed by sizeof. */ -#define SIZEOF_INT 4 - -/* Define to the size of `short', as computed by sizeof. */ -#define SIZEOF_SHORT 2 - -/* Define to the size of `size_t', as computed by sizeof. */ -#if defined(_WIN64) -# define SIZEOF_SIZE_T 8 -#else -# define SIZEOF_SIZE_T 4 -#endif - /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ |