arsa  2.7
arsa_begin_code.h
Go to the documentation of this file.
1 #ifndef __ARSA_BEGIN_CODE_H__
2 #define __ARSA_BEGIN_CODE_H__
3 
4 #if defined(__WIN32__) || defined(__WINRT__)
5 
6 // To build Irrlicht as a static library, you must define _IRR_STATIC_LIB_ in both the
7 // Irrlicht build, *and* in the user application, before #including <irrlicht.h>
8 #ifndef _ARSA_STATIC_LIB_
9 #ifdef ARSA_DLL_EXPORTS
10 #define ARSA_API __declspec(dllexport)
11 #else
12 #define ARSA_API __declspec(dllimport)
13 #endif // IRRLICHT_EXPORT
14 #else
15 #define ARSA_API
16 #endif // _ARSA_STATIC_LIB_
17 
18 // Declare the calling convention.
19 #if defined(_STDCALL_SUPPORTED)
20 #define ARSACALLCONV __stdcall
21 #else
22 #define ARSACALLCONV __cdecl
23 #endif // _STDCALL_SUPPORTED
24 
25 #else // #if defined(__WIN32__) || defined(__WINRT__)
26 
27 #define ARSA_API
28 #define ARSACALLCONV
29 
30 #endif
31 
32 #endif // __ARSA_BEGIN_CODE_H__