home: hub: 9ficl

ref: 3cfc038f81eb033a6239f21046ede2a5a26656cd
dir: /ficlplatform/unix.h/

View raw version
#include <unistd.h>


#define FICL_WANT_PLATFORM (1)

#define FICL_PLATFORM_OS              "unix"
#define FICL_PLATFORM_ARCHITECTURE    "unknown"

#define FICL_PLATFORM_BASIC_TYPES     (1)
#define FICL_PLATFORM_ALIGNMENT       (4)
#define FICL_PLATFORM_INLINE          inline

#define FICL_PLATFORM_HAS_FTRUNCATE   (1)
#define FICL_PLATFORM_HAS_2INTEGER    (1)

typedef int8_t ficlInteger8;
typedef uint8_t ficlUnsigned8;
typedef int16_t ficlInteger16;
typedef uint16_t ficlUnsigned16;
typedef int32_t ficlInteger32;
typedef uint32_t ficlUnsigned32;
typedef int64_t ficlInteger64;
typedef uint64_t ficlUnsigned64;

typedef intptr_t ficlInteger;
typedef uintptr_t ficlUnsigned;
typedef float ficlFloat;

#if defined(FICL_PLATFORM_HAS_2INTEGER) && FICL_PLATFORM_HAS_2INTEGER
typedef ficlInteger64 ficl2Integer;
typedef ficlUnsigned64 ficl2Unsigned;
#endif