aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Threadpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/Threadpool.cpp')
-rw-r--r--src/armnn/Threadpool.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/Threadpool.cpp b/src/armnn/Threadpool.cpp
index 4289a4b1b7..df4ff84fb5 100644
--- a/src/armnn/Threadpool.cpp
+++ b/src/armnn/Threadpool.cpp
@@ -2,7 +2,7 @@
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
-
+#if !defined(ARMNN_DISABLE_THREADS)
#include <armnn/Threadpool.hpp>
@@ -204,3 +204,5 @@ void Threadpool::ProcessExecPriorities(uint32_t index)
} // namespace experimental
} // namespace armnn
+
+#endif