Add definition of BIND_8_COMPAT to fix build problem on Mac OS X.
Every other UNIX in existence defines BIND_4_COMPAT in arpa/nameser.h, which ensures that nameser_compat.h gets included. Mac OS X changed it to BIND_8_COMPAT and stopped including it by default. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@97 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
[Changes 1.2c01]
|
[Changes 1.2c01]
|
||||||
|
|
||||||
|
* Add definition of BIND_8_COMPAT to fix build problem on Mac OS X. (caf)
|
||||||
|
|
||||||
* Ensure that SHOW_AWAY_ONCE doesn't hide away status in /whois output. (caf)
|
* Ensure that SHOW_AWAY_ONCE doesn't hide away status in /whois output. (caf)
|
||||||
|
|
||||||
* Fix the the -z command line option for specifying username. (flashback)
|
* Fix the the -z command line option for specifying username. (flashback)
|
||||||
|
|||||||
@@ -1971,6 +1971,13 @@ void ar_rename_nick(char *old_nick, char *new_nick, int server)
|
|||||||
* of property which results from the use of this software.
|
* of property which results from the use of this software.
|
||||||
* heavily modified for use in a irc client.
|
* heavily modified for use in a irc client.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* In OS X 10.3 onward, we have to define BIND_8_COMPAT to get
|
||||||
|
* nameser_compat.h included, to get the "old" bind interface. */
|
||||||
|
#if defined( __APPLE__ ) && !defined( BIND_8_COMPAT )
|
||||||
|
#define BIND_8_COMPAT
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user