RetroZilla/build/package/debian/testipv6
2015-10-20 23:03:22 -04:00

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