aboutsummaryrefslogtreecommitdiff
path: root/libgomp/omp.h.in
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2006-01-25 19:17:57 +0000
committerRichard Henderson <rth@gcc.gnu.org>2006-01-25 11:17:57 -0800
commit03b8fe495d716c004f5491eb2347537f115ab2d8 (patch)
tree3ed40bb4cdbf2ad9a5a53d51d9e40585078f01cf /libgomp/omp.h.in
parentb8795eddf5bebda36a22098be7b7810a7f6f2185 (diff)
downloadgcc-03b8fe495d716c004f5491eb2347537f115ab2d8.zip
gcc-03b8fe495d716c004f5491eb2347537f115ab2d8.tar.gz
gcc-03b8fe495d716c004f5491eb2347537f115ab2d8.tar.bz2
re PR libgomp/25884 (libgomp should not require perl to compile)
PR libgomp/25884 * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. * configure.ac (PERL): Don't set. (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. * omp.h.in: Wrap the new configure substitutions with @ characters. * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. * aclocal.m4, configure, Makefile.in: Regenerate. * mkomp_h.pl: Delete. From-SVN: r110220
Diffstat (limited to 'libgomp/omp.h.in')
-rw-r--r--libgomp/omp.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgomp/omp.h.in b/libgomp/omp.h.in
index 5120377..44fda90 100644
--- a/libgomp/omp.h.in
+++ b/libgomp/omp.h.in
@@ -36,12 +36,14 @@
typedef struct
{
- unsigned char _x[OMP_LOCK_SIZE] __attribute__((__aligned__(OMP_LOCK_ALIGN)));
+ unsigned char _x[@OMP_LOCK_SIZE@]
+ __attribute__((__aligned__(@OMP_LOCK_ALIGN@)));
} omp_lock_t;
typedef struct
{
- unsigned char _x[OMP_NEST_LOCK_SIZE] __attribute__((__aligned__(OMP_NEST_LOCK_ALIGN)));
+ unsigned char _x[@OMP_NEST_LOCK_SIZE@]
+ __attribute__((__aligned__(@OMP_NEST_LOCK_ALIGN@)));
} omp_nest_lock_t;
#endif