Commit 88f505f6 by Nathanael Nerode

string.h, regset.h: Fix to match produced versions.

	* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
	Fix to match produced versions.
	* fixinc/inclhack.def (longlong_t): New disabled test, ported
	from fixinc.svr4.

From-SVN: r70839
parent 522df488
2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org> 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
Fix to match produced versions.
* fixinc/inclhack.def (longlong_t): New disabled test, ported
from fixinc.svr4.
* fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported * fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
from fixinc.ptx. from fixinc.ptx.
* fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix, * fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
......
...@@ -1653,6 +1653,21 @@ fix = { ...@@ -1653,6 +1653,21 @@ fix = {
/* /*
* Apparently some SVR4 systems typedef longlong_t to long ?
*/
#ifdef SVR4
fix = {
hackname = longlong_t;
select = "typedef[ \t]+(unsigned[ \t]+)?long[ \t]+(u_)?longlong_t";
c_fix = format;
c_fix_arg = "typedef %1long long %2longlong_t";
test_text = "typedef long longlong_t\n"
"typedef unsigned long u_longlong_t";
};
#endif
/*
* Delete the '#define void int' line from curses.h on Lynx * Delete the '#define void int' line from curses.h on Lynx
*/ */
fix = { fix = {
......
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
original, manufacturer supplied header file. */ original, manufacturer supplied header file. */
#ifndef _STRING_INCLUDED #ifndef _STRING_INCLUDED
#define _STRING_INCLUDED #define _STRING_INCLUDED
#include <strings.h> #include <strings.h>
#endif /* _STRING_INCLUDED */ #endif /* _STRING_INCLUDED */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment