diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-25 21:24:56 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-04-11 14:24:34 +0100 |
commit | 870b96c643388ae88dd4245b9169f526d6a8d49e (patch) | |
tree | 44a675f1eecdbf0eff40dc4ee623e0a2f03b2f96 /include/armnnUtils | |
parent | b99799bda8fe0fb0a755eebbe2d02dbb74507c9f (diff) | |
download | armnn-870b96c643388ae88dd4245b9169f526d6a8d49e.tar.gz |
IVGCVSW-6707 Enables a bare metal compile
Change-Id: Icc2f83c5f27f413758fee3e5c1445e9fc44f42c8
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'include/armnnUtils')
-rw-r--r-- | include/armnnUtils/Filesystem.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/armnnUtils/Filesystem.hpp b/include/armnnUtils/Filesystem.hpp index ba0d97a272..0d29a7558d 100644 --- a/include/armnnUtils/Filesystem.hpp +++ b/include/armnnUtils/Filesystem.hpp @@ -4,6 +4,7 @@ // #pragma once +#if !defined(ARMNN_DISABLE_FILESYSTEM) #if defined(_MSC_VER) // ghc includes Windows.h directly, bringing in macros that we don't want (e.g. min/max). @@ -21,5 +22,7 @@ namespace Filesystem /// Returns a path to a file in the system temporary folder. If the file existed it will be deleted. fs::path NamedTempFile(const char* fileName); -} -} +} // namespace armnnUtils +} // namespace Filesystem + +#endif // !defined(ARMNN_DISABLE_FILESYSTEM) |