*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed January 25, 2020 at 12:15:43 PM by AutoGen 5.18.16
+ * It has been AutoGen-ed September 16, 2020 at 06:34:57 PM by AutoGen 5.18
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Sat Jan 25 12:15:43 EST 2020
+/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Sep 16 18:34:57 UTC 2020
*
* You must regenerate it. Use the ./genfixes script.
*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Externcpp1Select0[] =
- "#ifdef __cplusplus";
+ "#ifndef _KERNEL\n\
+#ifdef __cplusplus";
#define AIX_EXTERNCPP1_TEST_CT 1
static tTestDesc aAix_Externcpp1Tests[] = {
*/
static const char* apzAix_Externcpp1Patch[] = {
"format",
- "#ifdef __cplusplus\n\
+ "#ifndef _KERNEL\n\
+#ifdef __cplusplus\n\
extern \"C++\" {",
(char*)NULL };
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Externcpp2Select0[] =
- "#else /\\* __cplusplus \\*/";
+ "#endif /\\* COMPAT_43 \\*/\n\
+#else /\\* __cplusplus \\*/";
#define AIX_EXTERNCPP2_TEST_CT 1
static tTestDesc aAix_Externcpp2Tests[] = {
*/
static const char* apzAix_Externcpp2Patch[] = {
"format",
- "} /* extern \"C++\" */\n\
+ "#endif /* COMPAT_43 */\n\
+} /* extern \"C++\" */\n\
#else /* __cplusplus */",
(char*)NULL };
hackname = aix_externcpp1;
mach = "*-*-aix*";
files = "sys/socket.h";
- select = "#ifdef __cplusplus";
+ select = "#ifndef _KERNEL\n"
+ "#ifdef __cplusplus";
c_fix = format;
- c_fix_arg = "#ifdef __cplusplus\n"
+ c_fix_arg = "#ifndef _KERNEL\n"
+ "#ifdef __cplusplus\n"
"extern \"C++\" {";
- test_text = "#ifdef __cplusplus";
-
+ test_text = "#ifndef _KERNEL\n"
+ "#ifdef __cplusplus";
};
fix = {
hackname = aix_externcpp2;
mach = "*-*-aix*";
files = "sys/socket.h";
- select = "#else /\\* __cplusplus \\*/";
+ select = "#endif /\\* COMPAT_43 \\*/\n"
+ "#else /\\* __cplusplus \\*/";
c_fix = format;
- c_fix_arg = "} /* extern \"C++\" */\n"
+ c_fix_arg = "#endif /* COMPAT_43 */\n"
+ "} /* extern \"C++\" */\n"
"#else /* __cplusplus */";
- test_text = "#else /* __cplusplus */";
-
+ test_text = "#endif /* COMPAT_43 */\n"
+ "#else /* __cplusplus */";
};
/*