source: release/1.7/source/lisp-kernel/standard-inttypes.h

Last change on this file was 13596, checked in by gb, 9 years ago

New files: map platform-specific "standard" C integer type names to the
nominally portable names that we use.

File size: 1019 bytes
Line 
1/*
2   Copyright (C) 2010 Clozure Associates
3   Copyright (C) 1994-2001 Digitool, Inc
4   This file is part of Clozure CL. 
5
6   Clozure CL is licensed under the terms of the Lisp Lesser GNU Public
7   License , known as the LLGPL and distributed with Clozure CL as the
8   file "LICENSE".  The LLGPL consists of a preamble and the LGPL,
9   which is distributed with Clozure CL as the file "LGPL".  Where these
10   conflict, the preamble takes precedence. 
11
12   Clozure CL is referenced in the preamble as the "LIBRARY."
13
14   The LLGPL is also available online at
15   http://opensource.franz.com/preamble.html
16*/
17
18/* Define signed/unsigned 8/16/32/64-bit type names. I don't know what
19   standards are involved, but Linux, Darwin, and FreeBSD all seem to
20   conform to the names used here.
21*/
22
23#include <sys/types.h>
24#include <stdint.h>
25
26typedef int64_t s64_t;
27typedef u_int64_t u64_t;
28typedef int32_t s32_t;
29typedef u_int32_t u32_t;
30typedef int16_t s16_t;
31typedef u_int16_t u16_t;
32typedef int8_t s8_t;
33typedef u_int8_t u8_t;
Note: See TracBrowser for help on using the repository browser.