diff options
Diffstat (limited to 'tqtinterface/qt4/config.tests/unix/ipv6/ipv6test.cpp')
-rw-r--r-- | tqtinterface/qt4/config.tests/unix/ipv6/ipv6test.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tqtinterface/qt4/config.tests/unix/ipv6/ipv6test.cpp b/tqtinterface/qt4/config.tests/unix/ipv6/ipv6test.cpp new file mode 100644 index 0000000..4700ae6 --- /dev/null +++ b/tqtinterface/qt4/config.tests/unix/ipv6/ipv6test.cpp @@ -0,0 +1,20 @@ +/* Sample program for configure to test IPv6 support on target +platforms. We check for the required IPv6 data structures. */ + +#if defined(__hpux) +#define _HPUX_SOURCE +#endif + +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> + +int main() +{ + sockaddr_in6 tmp; + sockaddr_storage tmp2; + (void)tmp; + (void)tmp2; + + return 0; +} |