aix: apply socket.h extern "C++" more narrowly.
commit21fdebc519578aad72c8550b05c05813c5b28c21
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 16 Sep 2020 18:56:00 +0000 (16 18:56 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 17 Sep 2020 14:18:32 +0000 (17 14:18 +0000)
tree83333f5e15a717362e6226aa6a1d1a0f0b6f190d
parentb28b621ac67beee81a47adb50b954bcf751570fd
aix: apply socket.h extern "C++" more narrowly.

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.
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/sys/socket.h