forked from mirrors/tftp-hpa-google
Support IPv6 on MacOS X systems
Add feature test macros for MacOS X, and don't require IPV6_RECVPKTINFO to exist. Reported-by: YJZ <vollkommen@gmx.net> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
b9708e2201
commit
128e6a3905
2 changed files with 15 additions and 5 deletions
7
config.h
7
config.h
|
@ -17,6 +17,13 @@
|
|||
#ifndef CONFIG_H
|
||||
#define CONFIG_H 1
|
||||
|
||||
/* Feature enables for specific environments */
|
||||
#ifdef __APPLE__
|
||||
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1070
|
||||
#define __APPLE_USE_RFC_3542 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Must be included before we include any system headers! */
|
||||
#include "aconfig.h" /* autogenerated configuration header */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue