debian hackers for contributing these. git-svn-id: svn://10.0.0.236/trunk@42432 18797224-902f-48f8-a5cc-f745e15eee43
9 lines
221 B
Plaintext
9 lines
221 B
Plaintext
#include <features.h>
|
|
#if defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC__ + __GLIBC_MINOR__ >= 3)
|
|
/* For IPv6 support, glibc2.1 or newer is required */
|
|
echo 1
|
|
#else
|
|
/* Sorry, no IPv6 support */
|
|
echo 0
|
|
#endif
|