2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
7 * A full copy of the text of the CDDL should have accompanied this
8 * source. A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
13 * Copyright 2015 Toomas Soome <tsoome@me.com>
23 #define FICL_WANT_PLATFORM (1)
25 #define FICL_PLATFORM_OS "Illumos"
27 #define FICL_PLATFORM_ARCHITECTURE "sparc"
29 #define FICL_PLATFORM_ARCHITECTURE "i386"
32 #define FICL_PLATFORM_BASIC_TYPES (1)
34 #define FICL_PLATFORM_ALIGNMENT (8)
36 #define FICL_PLATFORM_ALIGNMENT (4)
38 #define FICL_PLATFORM_INLINE inline
40 #define FICL_PLATFORM_HAS_FTRUNCATE (1)
42 #define FICL_PLATFORM_HAS_2INTEGER (0)
44 #define FICL_PLATFORM_HAS_2INTEGER (1)
47 typedef int8_t ficlInteger8
;
48 typedef uint8_t ficlUnsigned8
;
49 typedef int16_t ficlInteger16
;
50 typedef uint16_t ficlUnsigned16
;
51 typedef int32_t ficlInteger32
;
52 typedef uint32_t ficlUnsigned32
;
53 typedef int64_t ficlInteger64
;
54 typedef uint64_t ficlUnsigned64
;
57 typedef ficlInteger64 ficlInteger
;
58 typedef ficlUnsigned64 ficlUnsigned
;
60 typedef double ficlFloat
;
62 typedef ficlInteger32 ficlInteger
;
63 typedef ficlUnsigned32 ficlUnsigned
;
65 typedef float ficlFloat
;
68 #if defined(FICL_PLATFORM_HAS_2INTEGER) && FICL_PLATFORM_HAS_2INTEGER
69 typedef ficlInteger64 ficl2Integer
;
70 typedef ficlUnsigned64 ficl2Unsigned
;