summaryrefslogtreecommitdiff
path: root/sid/sidplay-libs-2.1.0/libsidplay/unix/sidconfig.h.in
blob: b9c82441462a680b4b682b0b7e6be199d1032559 (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
42
43
44
45
46
47
48
49
50
51
/* sidconfig.h (template) */
#ifndef _sidconfig_h_
#define _sidconfig_h_

/* Define the sizeof of types in bytes */
#define SID_SIZEOF_CHAR      @SID_SIZEOF_CHAR@
#define SID_SIZEOF_SHORT_INT @SID_SIZEOF_SHORT_INT@
#define SID_SIZEOF_INT       @SID_SIZEOF_INT@
#define SID_SIZEOF_LONG_INT  @SID_SIZEOF_LONG_INT@

/* Define SID_WORDS_BIGENDIAN if your processor stores words
   with the most significant byte first (like Motorola and SPARC,
   unlike Intel and VAX).  */
/* Define SID_WORDS_LITTLEENDIAN if your processor stores words
   with the least significant byte first (like Intel and VAX).  */
#define @SID_WORDS_ENDIANESS@

/* Define if your compiler supports type "bool".
   If not, a user-defined signed integral type will be used.  */
@SID_HAVE_BOOL@

/* Define if your compiler supports AC99 header "stdbool.h" */
@SID_HAVE_STDBOOL_H@

/* DLL building support on win32 hosts */
#ifndef SID_EXTERN
#   ifdef DLL_EXPORT      /* defined by libtool (if required) */
#       define SID_EXTERN __declspec(dllexport)
#   endif
#   ifdef SID_DLL_IMPORT  /* define if linking with this dll */
#       define SID_EXTERN __declspec(dllimport)
#   endif
#   ifndef SID_EXTERN     /* static linking or !_WIN32 */
#       define SID_EXTERN
#   endif
#endif

/* Namespace support */
#define SIDPLAY2_NAMESPACE __sidplay2__
#ifdef  SIDPLAY2_NAMESPACE
#   define SIDPLAY2_NAMESPACE_START \
    namespace SIDPLAY2_NAMESPACE    \
    {
#   define SIDPLAY2_NAMESPACE_STOP  \
    }
#else
#   define SIDPLAY2_NAMESPACE_START
#   define SIDPLAY2_NAMESPACE_STOP
#endif

#endif /* _sidconfig_h_ */