LicenseSpring C++ SDK
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
24
#endif
25
26
#endif // Platform check
27
28
#endif // LS_API_DEF_H
LicenseSpring
APIDef.h
Generated by
1.8.14