blob: 6307b72f5ddbaec5666b3c5fab14b9dcdbd8ae37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/**
* Copyright and confidentiality notice
*
* This file is part of GazeSense SDK, which is proprietary and confidential
* information of Eyeware Tech SA.
*
* Copyright (C) 2020 Eyeware Tech SA
*
* All rights reserved
*/
#ifndef _EYEWARE_DEFINES_
#define _EYEWARE_DEFINES_
#if !defined(EW_API_EXPORT)
#if defined(WIN32) || defined(_WIN32)
#define EW_API_EXPORT __declspec(dllexport)
#else
#define EW_API_EXPORT __attribute__((visibility("default")))
#endif
#endif
#if !defined(EW_API_IMPORT)
#if defined(EYEWARE_STATIC_LINK) || defined(EYEWARE_LINK_OBJ_LIB)
#define EW_API_IMPORT
#elif defined(WIN32) || defined(_WIN32)
#define EW_API_IMPORT __declspec(dllimport)
#else
#define EW_API_IMPORT
#endif
#endif
#if !defined(EW_API)
#if defined(EYEWARE_SDK_BUILD)
#define EW_API EW_API_EXPORT
#else
#define EW_API EW_API_IMPORT
#endif
#endif
#endif // _EYEWARE_DEFINES_
|