diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:56:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 18:57:13 +0000 |
commit | 82dd75a7f436a19047325d62182590c9f9e23a78 (patch) | |
tree | 60ca20c8cf2b0d178d84725c0715471f76df97e1 /conf/portability.h | |
parent | 0bbb676a2342367c4e52b35e890f24667dabb348 (diff) | |
parent | 963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff) |
Merge commit 'refs/top-bases/t/tls' into t/tls
Diffstat (limited to 'conf/portability.h')
-rw-r--r-- | conf/portability.h | 26 |
1 files changed, 0 insertions, 26 deletions
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 <unistd.h> -#include <string.h> -#include <stdlib.h> - -/* 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 |