| LicenseSpring C++ SDK 7.32.0 Easily add Software Licensing to your application

APIDef.h
Go to the documentation of this file.
1 #ifndef LS_API_DEF_H
2 #define LS_API_DEF_H
3
4 #ifdef _MSC_VER
5 #pragma once
6 #endif
7
8 #ifdef _WIN32
9
10 #if defined( LS_DLL_EXPORTS )
11 #define LS_API __declspec(dllexport)
12 #elif defined( LS_STATIC )
13 #define LS_API
14 #else
15 #define LS_API __declspec(dllimport)
16 #endif
17
18 #else // Linux, MacOS X and others
19
20 #if !defined( LS_API )
21 #define LS_API
23 #endif
24
25 #endif // Platform check
26
27 #endif // LS_API_DEF_H
28
29