source: trunk/source/lisp-kernel/solaris-inttypes.h @ 14347

Last change on this file since 14347 was 13606, checked in by gb, 10 years ago

Define, -include PLATFORM_H.
Ensure that <sys/types.h> is #included.
Don't trivially redefine _LARGEFILE64_SOURCE_, which may be defined
in the platform-specific header file.

File size: 1023 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; this defines those type names in terms of
20   the types defined in Solaris' <stdint.h>.
21*/
22
23#include <sys/types.h>
24#include <stdint.h>
25typedef int64_t s64_t;
26typedef uint64_t u64_t;
27typedef int32_t s32_t;
28typedef uint32_t u32_t;
29typedef int16_t s16_t;
30typedef uint16_t u16_t;
31typedef int8_t s8_t;
32typedef uint8_t u8_t;
Note: See TracBrowser for help on using the repository browser.