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:
Jonathan Peyton 2015-09-24 14:47:51 +00:00
parent d0203cbf1c
commit 3a91ada1e2
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -15,6 +15,7 @@
//
//===----------------------------------------------------------------------===//
#include "kmp_config.h"
#if KMP_STATS_ENABLED
/*