SDL_kitchensink
Loading...
Searching...
No Matches
kitconfig.h
Go to the documentation of this file.
1#ifndef KITCONFIG_H
2#define KITCONFIG_H
3
12#if defined _WIN32 || defined __CYGWIN__
13 #define KIT_DLL_IMPORT __declspec(dllimport)
14 #define KIT_DLL_EXPORT __declspec(dllexport)
15 #define KIT_DLL_LOCAL
16#else
17 #define KIT_DLL_IMPORT __attribute__ ((visibility ("default")))
18 #define KIT_DLL_EXPORT __attribute__ ((visibility ("default")))
19 #define KIT_DLL_LOCAL __attribute__ ((visibility ("hidden")))
20#endif
21
22#ifdef KIT_DLL
23 #ifdef KIT_DLL_EXPORTS
24 #define KIT_API KIT_DLL_EXPORT
25 #else
26 #define KIT_API KIT_DLL_IMPORT
27 #endif
28 #define KIT_LOCAL KIT_DLL_LOCAL
29#else
30 #define KIT_API
31 #define KIT_LOCAL
32#endif
33
34#endif // KITCONFIG_H