Mercurial > hg > CbC > CbC_gcc
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fixincludes/tests/base/sys/socket.h Fri Jul 17 14:47:48 2009 +0900 @@ -0,0 +1,37 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/socket.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX11_EXTERN_SENDFILE_CHECK ) +#ifndef _APP32_64BIT_OFF_T + extern sbsize_t sendfile __((int, int, off_t, bsize_t, + const struct iovec *, int)); +#endif + +#endif /* HPUX11_EXTERN_SENDFILE_CHECK */ + + +#if defined( HPUX11_EXTERN_SENDPATH_CHECK ) +#ifndef _APP32_64BIT_OFF_T + extern sbsize_t sendpath __((int, int, off_t, bsize_t, + const struct iovec *, int)); +#endif + +#endif /* HPUX11_EXTERN_SENDPATH_CHECK */ + + +#if defined( IRIX_SOCKLEN_T_CHECK ) +#define _SOCKLEN_T +#if _NO_XOPEN4 && _NO_XOPEN5 +typedef int socklen_t; +#else +typedef u_int32_t socklen_t; +#endif /* _NO_XOPEN4 && _NO_XOPEN5 */ +#endif /* IRIX_SOCKLEN_T_CHECK */