16 lines
617 B
Text
16 lines
617 B
Text
|
Index: fixincludes/inclhack.def
|
||
|
--- fixincludes/inclhack.def.orig
|
||
|
+++ fixincludes/inclhack.def
|
||
|
@@ -3621,9 +3621,9 @@ fix = {
|
||
|
mach = "*-*-solaris2.*";
|
||
|
files = complex.h;
|
||
|
sed = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
|
||
|
- "#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif";
|
||
|
+ "#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif\\\n";
|
||
|
sed = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n"
|
||
|
- "#ifdef\t__cplusplus\\\n}\\\n#endif";
|
||
|
+ "#ifdef\t__cplusplus\\\n}\\\n#endif\\\n";
|
||
|
test_text = "#if !defined(__cplusplus)\n"
|
||
|
"#endif /* !defined(__cplusplus) */";
|
||
|
};
|