Mercurial > hg > CbC > CbC_gcc
comparison fixincludes/tests/base/sys/socket.h @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 /* DO NOT EDIT THIS FILE. | |
2 | |
3 It has been auto-edited by fixincludes from: | |
4 | |
5 "fixinc/tests/inc/sys/socket.h" | |
6 | |
7 This had to be done to correct non-standard usages in the | |
8 original, manufacturer supplied header file. */ | |
9 | |
10 | |
11 | |
12 #if defined( HPUX11_EXTERN_SENDFILE_CHECK ) | |
13 #ifndef _APP32_64BIT_OFF_T | |
14 extern sbsize_t sendfile __((int, int, off_t, bsize_t, | |
15 const struct iovec *, int)); | |
16 #endif | |
17 | |
18 #endif /* HPUX11_EXTERN_SENDFILE_CHECK */ | |
19 | |
20 | |
21 #if defined( HPUX11_EXTERN_SENDPATH_CHECK ) | |
22 #ifndef _APP32_64BIT_OFF_T | |
23 extern sbsize_t sendpath __((int, int, off_t, bsize_t, | |
24 const struct iovec *, int)); | |
25 #endif | |
26 | |
27 #endif /* HPUX11_EXTERN_SENDPATH_CHECK */ | |
28 | |
29 | |
30 #if defined( IRIX_SOCKLEN_T_CHECK ) | |
31 #define _SOCKLEN_T | |
32 #if _NO_XOPEN4 && _NO_XOPEN5 | |
33 typedef int socklen_t; | |
34 #else | |
35 typedef u_int32_t socklen_t; | |
36 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */ | |
37 #endif /* IRIX_SOCKLEN_T_CHECK */ |