aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorBruce Korb <korbb@gcc.gnu.org>2000-08-23 14:13:18 +0000
committerBruce Korb <korbb@gcc.gnu.org>2000-08-23 14:13:18 +0000
commit47db946ca4f65b526ab014d0059766ca0b58907b (patch)
treeba29fc97ae7319b79df87bbe261ca01f678c42a0 /gcc/fixinc
parentd0650b61d22cc5eedbb9ba0a551b42fe8ba291c8 (diff)
downloadgcc-47db946ca4f65b526ab014d0059766ca0b58907b.zip
gcc-47db946ca4f65b526ab014d0059766ca0b58907b.tar.gz
gcc-47db946ca4f65b526ab014d0059766ca0b58907b.tar.bz2
Update to pthread and addition of sys/machine.h
From-SVN: r35910
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/tests/base/pthread.h6
-rw-r--r--gcc/fixinc/tests/base/sys/machine.h16
2 files changed, 22 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/pthread.h b/gcc/fixinc/tests/base/pthread.h
index 5fb2a43..ccd662a 100644
--- a/gcc/fixinc/tests/base/pthread.h
+++ b/gcc/fixinc/tests/base/pthread.h
@@ -9,6 +9,12 @@
+#if defined( AIX_PTHREAD_CHECK )
+#define PTHREAD_MUTEX_INITIALIZER \
+{...init stuff...}
+#endif /* AIX_PTHREAD_CHECK */
+
+
#if defined( PTHREAD_PAGE_SIZE_CHECK )
extern int __page_size;
#endif /* PTHREAD_PAGE_SIZE_CHECK */
diff --git a/gcc/fixinc/tests/base/sys/machine.h b/gcc/fixinc/tests/base/sys/machine.h
new file mode 100644
index 0000000..a037413
--- /dev/null
+++ b/gcc/fixinc/tests/base/sys/machine.h
@@ -0,0 +1,16 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/sys/machine.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( AIX_SYSMACHINE_CHECK )
+#define FOO bar \
+ baz \
+ bat
+#endif /* AIX_SYSMACHINE_CHECK */