sphinx3_export.h
Go to the documentation of this file.
1 #ifndef __S3DECODER_EXPORT_H__
2 #define __S3DECODER_EXPORT_H__
3 
4 /* Win32/WinCE DLL gunk */
5 #if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(CYGWIN)
6 #ifdef S3DECODER_EXPORTS
7 #define S3DECODER_EXPORT __declspec(dllexport)
8 #else
9 #define S3DECODER_EXPORT __declspec(dllimport)
10 #endif
11 #else /* !_WIN32 */
12 #ifdef HAVE_ATTRIBUTE_VISIBILITY
13 #define S3DECODER_EXPORT __attribute__ ((visibility("default")))
14 #else
15 #define S3DECODER_EXPORT
16 #endif
17 #endif
18 
19 #if defined(__GNUC__) && __GNUC__ > 2
20 #define S3DECODER_DEPRECATED __attribute__ ((deprecated))
21 #else
22 #define S3DECODER_DEPRECATED
23 #endif
24 
25 #endif /* __S3DECODER_EXPORT_H__ */