From 870b96c643388ae88dd4245b9169f526d6a8d49e Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 25 Mar 2022 21:24:56 +0000 Subject: IVGCVSW-6707 Enables a bare metal compile Change-Id: Icc2f83c5f27f413758fee3e5c1445e9fc44f42c8 Signed-off-by: Jim Flynn --- src/armnn/Threadpool.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/armnn/Threadpool.cpp') 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 @@ -204,3 +204,5 @@ void Threadpool::ProcessExecPriorities(uint32_t index) } // namespace experimental } // namespace armnn + +#endif -- cgit v1.2.1