summaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-14 22:22:25 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-14 22:22:25 +0000
commit3c6ef6a28aff7d943aa6e6fc19dd6e45fb4eb0fd (patch)
tree5801b6f2b209bade8000d6fd38bdbfbfaf4407ec /fixincludes/inclhack.def
parentf9cdaf4bd093f2284cf785c9c718b93c0548b249 (diff)
downloadgcc-3c6ef6a28aff7d943aa6e6fc19dd6e45fb4eb0fd.tar.gz
PR target/33700
* inclhack.def (hpux11_pthread_const): New. * fixincl.x: Regenerate. * tests/base/sys/pthread.h: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def14
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 08989c9e750..75f83478f21 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -1952,6 +1952,20 @@ fix = {
};
/*
+ * Fix C99 constant in __POINTER_SET define.
+ */
+fix = {
+ hackname = hpux11_pthread_const;
+ mach = "*-hp-hpux11.[0-3]*";
+ files = sys/pthread.h;
+ select = "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
+
+ c_fix = format;
+ c_fix_arg = "#define __POINTER_SET\t\t((void *) 1L)";
+ test_text = "#define __POINTER_SET\t\t((void *) 1LL)";
+};
+
+/*
* Add missing braces to pthread initializer defines.
*/
fix = {