mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-23 22:23:47 +00:00
build: Allow header compilation by Windows C++ compiler
This commit is contained in:
@ -211,6 +211,11 @@
|
|||||||
/* Define to the return type of signal handlers (int or void). */
|
/* Define to the return type of signal handlers (int or void). */
|
||||||
#define RETSIGTYPE 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. */
|
/* Define if ssize_t is not an available 'typedefed' type. */
|
||||||
#ifndef _SSIZE_T_DEFINED
|
#ifndef _SSIZE_T_DEFINED
|
||||||
# if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \
|
# if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \
|
||||||
|
|||||||
Reference in New Issue
Block a user