[Openmp-commits] [openmp] r237472 - Small fix to allow FreeBSD build to work.

Jonathan Peyton jonathan.l.peyton at intel.com
Fri May 15 12:57:36 PDT 2015


Author: jlpeyton
Date: Fri May 15 14:57:36 2015
New Revision: 237472

URL: http://llvm.org/viewvc/llvm-project?rev=237472&view=rev
Log:
Small fix to allow FreeBSD build to work.

Add xexpand macro to the FTN_IS_INITIAL_DEVICE api function

Patch by Davide Italiano

Differential Revision: http://reviews.llvm.org/D9798

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

Modified: openmp/trunk/runtime/src/kmp_ftn_entry.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_ftn_entry.h?rev=237472&r1=237471&r2=237472&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_ftn_entry.h (original)
+++ openmp/trunk/runtime/src/kmp_ftn_entry.h Fri May 15 14:57:36 2015
@@ -773,7 +773,7 @@ FTN_GET_NUM_DEVICES( void )
 #if ! KMP_OS_LINUX
 
 int FTN_STDCALL
-FTN_IS_INITIAL_DEVICE( void )
+xexpand(FTN_IS_INITIAL_DEVICE)( void )
 {
     return 1;
 }





More information about the Openmp-commits mailing list