sigh, define TRUE if not already
authorDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2005 21:10:21 +0000 (21:10 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 2 Jun 2005 21:10:21 +0000 (21:10 +0000)
ares/ares_process.c

index a1e16af..83b4070 100644 (file)
 #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