diff options
Diffstat (limited to 'ares_private.h')
-rw-r--r-- | ares_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ares_private.h b/ares_private.h index 26f55db..d5ffbb3 100644 --- a/ares_private.h +++ b/ares_private.h @@ -18,6 +18,14 @@ * without express or implied warranty. */ +/* + * Define WIN32 when build target is Win32 API + */ + +#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) +#define WIN32 +#endif + #include <stdio.h> #include <sys/types.h> |