aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Threadpool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Threadpool.hpp')
-rw-r--r--include/armnn/Threadpool.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/armnn/Threadpool.hpp b/include/armnn/Threadpool.hpp
index e2458dbb65..672f8b8de6 100644
--- a/include/armnn/Threadpool.hpp
+++ b/include/armnn/Threadpool.hpp
@@ -2,6 +2,7 @@
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
+#if !defined(ARMNN_DISABLE_THREADS)
#pragma once
@@ -76,3 +77,5 @@ private:
} // namespace experimental
} // namespace armnn
+
+#endif