Add TouchChanged signal (and re-indent)
[ardour.git] / libs / lua / lua / liblua_visibility.h
1 #ifndef __liblua_visibility_h__
2 #define __liblua_visibility_h__
3
4 #if defined(COMPILER_MSVC)
5 #  define LIBLUA_DLL_IMPORT __declspec(dllimport)
6 #  define LIBLUA_DLL_EXPORT __declspec(dllexport)
7 #  define LIBLUA_DLL_LOCAL
8 #else
9 #  define LIBLUA_DLL_IMPORT __attribute__ ((visibility ("default")))
10 #  define LIBLUA_DLL_EXPORT __attribute__ ((visibility ("default")))
11 #  define LIBLUA_DLL_LOCAL  __attribute__ ((visibility ("hidden")))
12 #endif
13
14
15 #ifdef COMPILER_MSVC
16 // MSVC: build liblua as DLL
17 #  define LIBLUA_BUILD_AS_DLL
18 #else
19 // others currently use a static lib (incl. with libardour)
20 #  define LIBLUA_STATIC
21 #endif
22
23
24 #ifdef LIBLUA_STATIC
25 #  define LIBLUA_API
26 #else
27 // define when building the DLL (instead of using it)
28 #  ifdef LIBLUA_DLL_EXPORTS
29 #    define LIBLUA_API LIBLUA_DLL_EXPORT
30 #  else
31 #    define LIBLUA_API LIBLUA_DLL_IMPORT
32 #  endif
33 #endif
34
35 #endif /* __liblua_visibility_h__ */