[Openmp-commits] [openmp] r365642 - NFC: fixed typo #ifdef --> #if to allow macro set to 0 work correctly
    Andrey Churbanov via Openmp-commits 
    openmp-commits at lists.llvm.org
       
    Wed Jul 10 08:09:38 PDT 2019
    
    
  
Author: achurbanov
Date: Wed Jul 10 08:09:37 2019
New Revision: 365642
URL: http://llvm.org/viewvc/llvm-project?rev=365642&view=rev
Log:
NFC: fixed typo #ifdef --> #if to allow macro set to 0 work correctly
Modified:
    openmp/trunk/runtime/src/kmp.h
Modified: openmp/trunk/runtime/src/kmp.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp.h?rev=365642&r1=365641&r2=365642&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp.h (original)
+++ openmp/trunk/runtime/src/kmp.h Wed Jul 10 08:09:37 2019
@@ -3663,7 +3663,7 @@ extern void __kmp_init_implicit_task(ide
 extern void __kmp_finish_implicit_task(kmp_info_t *this_thr);
 extern void __kmp_free_implicit_task(kmp_info_t *this_thr);
 
-#ifdef OMP_50_ENABLED
+#if OMP_50_ENABLED
 extern kmp_event_t *__kmpc_task_allow_completion_event(ident_t *loc_ref,
                                                        int gtid,
                                                        kmp_task_t *task);
    
    
More information about the Openmp-commits
mailing list