diff options
Diffstat (limited to 'plugins/sid/sidplay-libs/libsidplay/unix/sidconfig.h')
-rw-r--r-- | plugins/sid/sidplay-libs/libsidplay/unix/sidconfig.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/sid/sidplay-libs/libsidplay/unix/sidconfig.h b/plugins/sid/sidplay-libs/libsidplay/unix/sidconfig.h new file mode 100644 index 00000000..6a111853 --- /dev/null +++ b/plugins/sid/sidplay-libs/libsidplay/unix/sidconfig.h @@ -0,0 +1,51 @@ +/* sidconfig.h (template) */ +#ifndef _sidconfig_h_ +#define _sidconfig_h_ + +/* Define the sizeof of types in bytes */ +#define SID_SIZEOF_CHAR 1 +#define SID_SIZEOF_SHORT_INT 2 +#define SID_SIZEOF_INT 4 +#define SID_SIZEOF_LONG_INT 4 + +/* 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_LITTLEENDIAN + +/* Define if your compiler supports type "bool". + If not, a user-defined signed integral type will be used. */ +#undef SID_HAVE_BOOL + +/* Define if your compiler supports AC99 header "stdbool.h" */ +#define 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_ */ |