Index: openmp/trunk/runtime/src/include/30/ompt.h.var =================================================================== --- openmp/trunk/runtime/src/include/30/ompt.h.var +++ openmp/trunk/runtime/src/include/30/ompt.h.var @@ -461,14 +461,15 @@ ***************************************************************************/ /* control */ -#if defined(_OPENMP) && (_OPENMP >= 201307) +// FIXME: remove workaround for clang +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp declare target #endif void ompt_control( uint64_t command, uint64_t modifier ); -#if defined(_OPENMP) && (_OPENMP >= 201307) +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp end declare target #endif Index: openmp/trunk/runtime/src/include/40/ompt.h.var =================================================================== --- openmp/trunk/runtime/src/include/40/ompt.h.var +++ openmp/trunk/runtime/src/include/40/ompt.h.var @@ -461,14 +461,15 @@ ***************************************************************************/ /* control */ -#if defined(_OPENMP) && (_OPENMP >= 201307) +// FIXME: remove workaround for clang +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp declare target #endif void ompt_control( uint64_t command, uint64_t modifier ); -#if defined(_OPENMP) && (_OPENMP >= 201307) +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp end declare target #endif Index: openmp/trunk/runtime/src/include/41/ompt.h.var =================================================================== --- openmp/trunk/runtime/src/include/41/ompt.h.var +++ openmp/trunk/runtime/src/include/41/ompt.h.var @@ -461,14 +461,15 @@ ***************************************************************************/ /* control */ -#if defined(_OPENMP) && (_OPENMP >= 201307) +// FIXME: remove workaround for clang +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp declare target #endif void ompt_control( uint64_t command, uint64_t modifier ); -#if defined(_OPENMP) && (_OPENMP >= 201307) +#if !defined(__clang__) && defined(_OPENMP) && (_OPENMP >= 201307) #pragma omp end declare target #endif