summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-01 20:29:32 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-01 20:29:32 +0000
commit32324da9c40cb8864d8db6e025108aba2a2d3385 (patch)
treeeb02b1c28ff4cdd0b24aa2d541dc6dc53135b1c5
parent98717b655972e97a3a7ba489637c40668f4191e8 (diff)
downloadppe42-gcc-32324da9c40cb8864d8db6e025108aba2a2d3385.tar.gz
ppe42-gcc-32324da9c40cb8864d8db6e025108aba2a2d3385.zip
alphabatize irix___restrict
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63619 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/fixinc/inclhack.def36
1 files changed, 18 insertions, 18 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 619f6965809..23f4c263f13 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -1343,6 +1343,24 @@ fix = {
/*
+ * IRIX 6.5.1[89] <internal/sgimacros.h> unconditionally defines
+ * __restrict as restrict iff __c99. This is wrong for C++, which
+ * needs many C99 features, but only supports __restrict.
+ */
+fix = {
+ hackname = irix___restrict;
+ files = internal/sgimacros.h;
+ select = "(#ifdef __c99\n)(#[ \t]*define __restrict restrict)";
+
+ mach = "mips-sgi-irix6.5";
+ c_fix = format;
+ c_fix_arg = "%1"
+ "# ifndef __cplusplus\n%2\n# endif";
+
+ test_text = "#ifdef __c99\n# define __restrict restrict";
+};
+
+/*
* IRIX 5.2's <sys/asm.h> contains an asm comment with a contraction
* that causes the assembly preprocessor to complain about an
* unterminated character constant.
@@ -1373,24 +1391,6 @@ fix = {
/*
- * IRIX 6.5.1[89] <internal/sgimacros.h> unconditionally defines
- * __restrict as restrict iff __c99. This is wrong for C++, which
- * needs many C99 features, but only supports __restrict.
- */
-fix = {
- hackname = irix___restrict;
- files = internal/sgimacros.h;
- select = "(#ifdef __c99\n)(#[ \t]*define __restrict restrict)";
-
- mach = "mips-sgi-irix6.5";
- c_fix = format;
- c_fix_arg = "%1"
- "# ifndef __cplusplus\n%2\n# endif";
-
- test_text = "#ifdef __c99\n# define __restrict restrict";
-};
-
-/*
* IRIX 6.5.1[78] <sys/socket.h> has a broken definition of socklen_t.
* Various socket function prototypes use different types instead,
* depending on the API in use (BSD, XPG4/5), but the socklen_t
OpenPOWER on IntegriCloud