From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- conf/portability.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 conf/portability.h (limited to 'conf') diff --git a/conf/portability.h b/conf/portability.h new file mode 100644 index 0000000000..ab41b5d977 --- /dev/null +++ b/conf/portability.h @@ -0,0 +1,20 @@ +/* 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 -- cgit v1.2.3-65-gdbad