]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
AIX portability hacks
authorwessels <>
Fri, 17 Jul 1998 06:16:28 +0000 (06:16 +0000)
committerwessels <>
Fri, 17 Jul 1998 06:16:28 +0000 (06:16 +0000)
lib/rfc1123.c
src/dnsserver.cc

index 5fc2d4f87d6737736ff6cd1e7219640c33814899..ea33b22d3ea40f09f495eddd6fc8f06faabce57d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: rfc1123.c,v 1.17 1998/04/24 05:20:23 wessels Exp $
+ * $Id: rfc1123.c,v 1.18 1998/07/17 00:16:29 wessels Exp $
  *
  * DEBUG: 
  * AUTHOR: Harvest Derived
@@ -251,7 +251,10 @@ parse_rfc1123(const char *str)
     t = mktime(&tm);
     {
        time_t dst = 0;
-#if !defined _TIMEZONE && !defined _timezone
+#if defined (_TIMEZONE)
+#elif defined (_timezone)
+#elif defined(_SQUID_AIX_)
+#else
        extern time_t timezone;
 #endif
        /*
index 992b68a8ce5d3171e1b625a6d54e00beef113c8a..cef8fba603e04d6f2e319cb5955d79b0db8e4fa4 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: dnsserver.cc,v 1.49 1998/04/24 07:09:32 wessels Exp $
+ * $Id: dnsserver.cc,v 1.50 1998/07/17 00:16:28 wessels Exp $
  *
  * DEBUG: section 0     DNS Resolver
  * AUTHOR: Harvest Derived
 #include "util.h"
 #include "snprintf.h"
 
+#if !defined(_SQUID_AIX_)
 extern int h_errno;
+#endif
 
 #if LIBRESOLV_DNS_TTL_HACK
 extern int _dns_ttl_;          /* this is a really *dirty* hack - bne */