forked from OSchip/llvm-project
Fix stats build problem.
This change removes the KMP_STATS_ENABLED macro inside kmp_stats.cpp since it is only compiled anyways when LIBOMP_STATS=on. Also, include kmp_config.h in kmp_stats.h to ensure KMP_STATS_ENABLED is defined. llvm-svn: 248494
This commit is contained in:
parent
d0203cbf1c
commit
3a91ada1e2
|
@ -12,9 +12,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
|
||||
#if KMP_STATS_ENABLED
|
||||
|
||||
#include "kmp.h"
|
||||
#include "kmp_str.h"
|
||||
#include "kmp_lock.h"
|
||||
|
@ -610,4 +607,3 @@ void __kmp_stats_init(void)
|
|||
|
||||
} // extern "C"
|
||||
|
||||
#endif // KMP_STATS_ENABLED
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "kmp_config.h"
|
||||
|
||||
#if KMP_STATS_ENABLED
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue