diff options
author | grant <grant@pkgsrc.org> | 2004-04-25 02:48:12 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-04-25 02:48:12 +0000 |
commit | a290bf2bb504442ddf9525c93fe75a202df5a01e (patch) | |
tree | dc8222add38a1b3f910ec66fbdaf2daa3c4bd0c2 /net/tnftp/files/acconfig.h | |
parent | 6b4bc60ca987ab4121841e00bc3a527fc9ae9f16 (diff) | |
download | pkgsrc-a290bf2bb504442ddf9525c93fe75a202df5a01e.tar.gz |
workaround poll() being a compatibility function on Darwin 7
(MacOSX 10.3) by adding a custom test for _POLL_EMUL_H_ which is
defined in poll.h on some MacOSX 10.3 systems.
not all 10.3 systems have poll.h, so only do the poll() test if at
least one of the header files is found.
Diffstat (limited to 'net/tnftp/files/acconfig.h')
-rw-r--r-- | net/tnftp/files/acconfig.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/tnftp/files/acconfig.h b/net/tnftp/files/acconfig.h index 13af2a0e66e..b2a80c24149 100644 --- a/net/tnftp/files/acconfig.h +++ b/net/tnftp/files/acconfig.h @@ -1,4 +1,4 @@ -/* $Id: acconfig.h,v 1.1 2004/03/11 13:01:01 grant Exp $ */ +/* $Id: acconfig.h,v 1.2 2004/04/25 02:48:12 grant Exp $ */ @TOP@ @BOTTOM@ @@ -66,6 +66,9 @@ /* Define if strptime() is declared in <time.h> */ #undef HAVE_STRPTIME_D +/* Define if we have poll() and it is not emulated */ +#undef HAVE_POLL + /* * Define this if compiling with SOCKS (the firewall traversal library). * Also, you must define connect, getsockname, bind, accept, listen, and |