]> granicus.if.org Git - pdns/commitdiff
Fix for problem reported in http://mailman.powerdns.com/pipermail/pdns-users/2004...
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 3 Feb 2005 17:58:15 +0000 (17:58 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 3 Feb 2005 17:58:15 +0000 (17:58 +0000)
Some versions of Solaris still define 'PC'...

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@285 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/ueberbackend.cc

index 5ad6f1a10a6f6c1b2814fd251918eb46829e267f..638de34ca98bab630add9076f81f61972147bb37 100644 (file)
@@ -1,11 +1,10 @@
 /*
     PowerDNS Versatile Database Driven Nameserver
-    Copyright (C) 2002  PowerDNS.COM BV
+    Copyright (C) 2005  PowerDNS.COM BV
 
     This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
+    it under the terms of the GNU General Public License version 2 as 
+    published by the Free Software Foundation
 
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,8 +15,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
-// $Id: ueberbackend.cc,v 1.11 2003/08/22 13:33:31 ahu Exp $ 
-/* (C) Copyright 2002 PowerDNS.COM BV */
+
 #include "utility.hh"
 
 #ifdef HAVE_CONFIG_H
@@ -233,6 +231,9 @@ void UeberBackend::cleanup()
   for_each(backends.begin(),backends.end(),del);
 }
 
+// silly Solaris fix
+#undef PC
+
 int UeberBackend::cacheHas(const Question &q, DNSResourceRecord &rr)
 {
   extern PacketCache PC;