shithub: syro

ref: a4e30b9d7b1f7b647c475f67b018091ba56b7c80
dir: /korg_syro_type.h/

View raw version
#ifndef KORG_SYRO_TYPE_H__
#define KORG_SYRO_TYPE_H__

#ifndef _MSC_VER

#include <stdint.h>

#else	// #ifndef _MSC_VER

#ifndef uint8_t
typedef unsigned char uint8_t;
#endif
#ifndef int8_t
typedef signed char int8_t;
#endif

#ifndef uint16_t
typedef unsigned short uint16_t;
#endif
#ifndef int16_t
typedef short int16_t;
#endif

#ifndef uint32_t
typedef unsigned long uint32_t;
#endif
#ifndef int32_t
typedef long int32_t;
#endif

#endif	// #ifndef _MSC_VER

#ifndef __cplusplus
#ifndef bool
typedef int bool;
#endif
#ifndef true
#define true (1)
#endif
#ifndef false
#define false (0)
#endif
#endif	// #ifndef __cplusplus

#endif	// #ifndef KORG_SYRO_VOLCASAMPLE_H__