sigh, define TRUE if not already

This commit is contained in:
Daniel Stenberg 2005-06-02 21:10:21 +00:00
parent 5470b9aa73
commit 1dcb2b7e65

View File

@ -45,6 +45,11 @@
#include "ares_dns.h"
#include "ares_private.h"
#ifndef TRUE
/* at least Solaris 7 does not have TRUE at this point */
#define TRUE 1
#endif
#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#define GET_ERRNO() WSAGetLastError()
#else