ArmNN
 24.02
DllExport.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #if defined (_MSC_VER)
8 
9 #ifdef ARMNN_COMPILING_DLL
10 #define ARMNN_DLLEXPORT __declspec(dllexport)
11 #else
12 #define ARMNN_DLLEXPORT __declspec(dllimport)
13 #endif
14 
15 #else
16 
17 #define ARMNN_DLLEXPORT
18 
19 #endif