source: project/release/3/srfi-27/srfi27_defs.h @ 8436

Last change on this file since 8436 was 8436, checked in by Kon Lovett, 13 years ago

powl -> pow in mwc (why was I using powl?).

File size: 797 bytes
Line 
1/* Definitions of numeric types used in the SRFI-27 egg */
2
3/* chicken.h includes one of these but be specific */
4#ifdef HAVE_STDINT_H
5# include <stdint.h>
6  typedef uint8_t    srfi27_uint8_t;
7  typedef uint16_t   srfi27_uint16_t;
8  typedef uint32_t   srfi27_uint32_t;
9  typedef uint64_t   srfi27_uint64_t;
10  typedef int8_t     srfi27_int8_t;
11  typedef int16_t    srfi27_int16_t;
12  typedef int32_t    srfi27_int32_t;
13  typedef int64_t    srfi27_int64_t;
14#else
15# include <sys/types.h>
16  typedef u_int8_t    srfi27_uint8_t;
17  typedef u_int16_t   srfi27_uint16_t;
18  typedef u_int32_t   srfi27_uint32_t;
19  typedef u_int64_t   srfi27_uint64_t;
20  typedef int8_t      srfi27_int8_t;
21  typedef int16_t     srfi27_int16_t;
22  typedef int32_t     srfi27_int32_t;
23  typedef int64_t     srfi27_int64_t;
24#endif
Note: See TracBrowser for help on using the repository browser.