Recent Technology Levels of AIX 7.2 have made sys/socket.h more C++-aware, which causes the fix to be applied in too many locations. This patch adds more context for the selection to apply the fix more narrowly. fixincludes/ChangeLog: 2020-09-17 David Edelsohn <dje.gcc@gmail.com> * inclhack.def (aix_externcpp1): Add more context to select. (aix_externcpp2): Same. * fixincl.x: Regenerate. * tests/base/sys/socket.h: Update expected results.
42 lines
977 B
C
42 lines
977 B
C
/* 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( AIX_EXTERNCPP1_CHECK )
|
|
#ifndef _KERNEL
|
|
#ifdef __cplusplus
|
|
extern "C++" {
|
|
#endif /* AIX_EXTERNCPP1_CHECK */
|
|
|
|
|
|
#if defined( AIX_EXTERNCPP2_CHECK )
|
|
#endif /* COMPAT_43 */
|
|
} /* extern "C++" */
|
|
#else /* __cplusplus */
|
|
#endif /* AIX_EXTERNCPP2_CHECK */
|
|
|
|
|
|
#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 */
|