summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-27 18:57:33 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-27 18:57:33 +0000
commit6bfc9190f1fe4a7e39dfadc9de41ad7783050a76 (patch)
tree404ee10d3aa5cddd71529f1d6dc5d3f8f8f35118 /openmp/runtime/src
parentfc75c06d16a51d33384951c0d928511b10160820 (diff)
downloadbcm5719-llvm-6bfc9190f1fe4a7e39dfadc9de41ad7783050a76.tar.gz
bcm5719-llvm-6bfc9190f1fe4a7e39dfadc9de41ad7783050a76.zip
Allow gcc 5.x to compile library.
Change check of __GNUC__ macro from: __GNUC__ == 4 to __GNUC__ >= 4 llvm-svn: 238347
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_os.h b/openmp/runtime/src/kmp_os.h
index d8a92261490..076f9430cf3 100644
--- a/openmp/runtime/src/kmp_os.h
+++ b/openmp/runtime/src/kmp_os.h
@@ -365,7 +365,7 @@ typedef double kmp_real64;
#define KMP_EXPORT extern /* export declaration in guide libraries */
-#if __GNUC__ == 4
+#if __GNUC__ >= 4
#define __forceinline __inline
#endif
OpenPOWER on IntegriCloud