OSDN Git Service

* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2003 02:19:07 +0000 (02:19 +0000)
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2003 02:19:07 +0000 (02:19 +0000)
Fix to match produced versions.
* fixinc/inclhack.def (longlong_t): New disabled test, ported
from fixinc.svr4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70839 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fixinc/inclhack.def
gcc/fixinc/tests/base/string.h
gcc/fixinc/tests/base/sys/regset.h

index 1fc6a0d..873f3f9 100644 (file)
@@ -1,5 +1,9 @@
 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
        from fixinc.ptx.
         * fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
index 34e4b87..a5ec61f 100644 (file)
@@ -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
  */
 fix = {
index f32c240..d70f9e0 100644 (file)
@@ -8,6 +8,6 @@
     original, manufacturer supplied header file.  */
 
 #ifndef _STRING_INCLUDED
-#define _STRING_INCLUDED
-#include <strings.h>
-#endif /* _STRING_INCLUDED */
+  #define _STRING_INCLUDED
+  #include <strings.h>
+#endif /* _STRING_INCLUDED */
\ No newline at end of file
index adc31ad..6723427 100644 (file)
@@ -11,7 +11,7 @@
 
 #if defined( SCO_REGSET_CHECK )
 union u_fps {
-    struct rsfpstate
+    struct     rsfpstate
     {
        int whatever;
     }