aboutsummaryrefslogtreecommitdiff
path: root/profiling/common/include/DllExport.hpp
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2021-06-09 14:55:32 +0100
committerNikhil Raj <nikhil.raj@arm.com>2021-06-16 10:07:34 +0100
commit77fe76bfa8cb798943821d1f3e432c228e1cdee3 (patch)
tree0a6917287674113c00436810f3edfed04ebdeb03 /profiling/common/include/DllExport.hpp
parent6d666e41f55ee9cc44933310ca83771710f80b55 (diff)
downloadarmnn-77fe76bfa8cb798943821d1f3e432c228e1cdee3.tar.gz
IVGCVSW-5835 Move the src/profiling/LabelsAndEventClasses class to profiling/common
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I83de0fe9c83ec7e698817095ce5cfe3319c36ea6
Diffstat (limited to 'profiling/common/include/DllExport.hpp')
-rw-r--r--profiling/common/include/DllExport.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/profiling/common/include/DllExport.hpp b/profiling/common/include/DllExport.hpp
new file mode 100644
index 0000000000..8e01d43bca
--- /dev/null
+++ b/profiling/common/include/DllExport.hpp
@@ -0,0 +1,19 @@
+//
+// Copyright © 2020 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+#pragma once
+
+#if defined (_MSC_VER)
+
+#ifdef ARMNN_COMPILING_DLL
+#define ARMNN_DLLEXPORT __declspec(dllexport)
+#else
+#define ARMNN_DLLEXPORT __declspec(dllimport)
+#endif
+
+#else
+
+#define ARMNN_DLLEXPORT
+
+#endif \ No newline at end of file