summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2019-01-16 09:39:42 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2019-01-16 09:39:42 +0000
commit4d02e4ceb436d047322ff96ce3610175fcb6c631 (patch)
tree68e6c6f0414c3ee2f2d340d119d40fd88c189647
parent6fd745a550fdc83df565bd8c5d1fe232d5d76422 (diff)
Fix compiler error in r351311
-rw-r--r--openmp/runtime/src/ompt-general.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp
index 595bf556dff..cea00fff07a 100644
--- a/openmp/runtime/src/ompt-general.cpp
+++ b/openmp/runtime/src/ompt-general.cpp
@@ -491,7 +491,7 @@ OMPT_API_ROUTINE int ompt_get_parallel_info(int ancestor_level,
OMPT_API_ROUTINE int ompt_get_state(ompt_wait_id_t *wait_id) {
if (!ompt_enabled.enabled)
- return omp_state_work_serial;
+ return ompt_state_work_serial;
int thread_state = __ompt_get_state_internal(wait_id);
if (thread_state == ompt_state_undefined) {