From c40226cb4c7f44d9ef58a5eb4c625a3a51a770bb Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 28 Apr 2016 13:08:53 +0200 Subject: resolv: Remove BSD compatibility conditionals and header --- conf/portability.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 conf/portability.h (limited to 'conf/portability.h') diff --git a/conf/portability.h b/conf/portability.h deleted file mode 100644 index 54a25d8507..0000000000 --- a/conf/portability.h +++ /dev/null @@ -1,26 +0,0 @@ -/* This file is used by some of the resolver code in inet/ that - comes from BIND 4.9. I have written this file instead of modifying - those things not to use it so that I can later drop in replacement - files from future BIND distributions without change. */ - -#include -#include -#include - -/* Some BIND code decides it can omit the definitions of some functions - if BSD is defined to some value. That might make sense when the BIND - code is augmenting or replacing an existing system library, but we can - never omit a function here, since we are defining the system library. */ - -#undef BSD - -/* Some code does stupid compatibility kludges for SunOS braindeath - #ifdef sun. */ - -#undef sun - -/* The source code copied from BIND for inet_addr/inet_aton - doesn't actually define the functions without these macros. */ - -#define NEED_INETADDR 1 -#define NEED_INETATON 1 -- cgit v1.2.3