[Openmp-commits] [openmp] r238347 - Allow gcc 5.x to compile library.

Jonathan Peyton jonathan.l.peyton at intel.com
Wed May 27 11:57:33 PDT 2015


Author: jlpeyton
Date: Wed May 27 13:57:33 2015
New Revision: 238347

URL: http://llvm.org/viewvc/llvm-project?rev=238347&view=rev
Log:
Allow gcc 5.x to compile library.

Change check of __GNUC__ macro from:
__GNUC__ == 4 to __GNUC__ >= 4

Modified:
    openmp/trunk/runtime/src/kmp_os.h

Modified: openmp/trunk/runtime/src/kmp_os.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_os.h?rev=238347&r1=238346&r2=238347&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_os.h (original)
+++ openmp/trunk/runtime/src/kmp_os.h Wed May 27 13:57:33 2015
@@ -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
 





More information about the Openmp-commits mailing list