Last change
on this file since 350 was 2, checked in by Dmitry A. Kuminov, 16 years ago |
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
File size:
456 bytes
|
Line | |
---|
1 | /* Sample program for configure to test IPv6 support on target
|
---|
2 | platforms. We check for the required IPv6 data structures. */
|
---|
3 |
|
---|
4 | #if defined(__hpux)
|
---|
5 | #define _HPUX_SOURCE
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #include <sys/types.h>
|
---|
9 | #include <sys/socket.h>
|
---|
10 | #include <netinet/in.h>
|
---|
11 |
|
---|
12 | int main()
|
---|
13 | {
|
---|
14 | sockaddr_in6 tmp;
|
---|
15 | sockaddr_storage tmp2;
|
---|
16 | (void)tmp.sin6_addr.s6_addr;
|
---|
17 | (void)tmp.sin6_port;
|
---|
18 | (void)tmp.sin6_family;
|
---|
19 | (void)tmp.sin6_scope_id;
|
---|
20 | (void)tmp2;
|
---|
21 |
|
---|
22 | return 0;
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.