RetroZilla/build/package/debian/testipv6

9 lines
221 B
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
#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