source: libcaca/trunk/common.h @ 859

Last change on this file since 859 was 859, checked in by Sam Hocevar, 15 years ago
  • Removed duplicate uint*_t defines from *_internal.h and included common.h in all .c files that needed it.
  • Property svn:keywords set to Id
File size: 901 bytes
Line 
1/*
2 *  libcucul      Canvas for ultrafast compositing of Unicode letters
3 *  libcaca       Colour ASCII-Art library
4 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
5 *                All Rights Reserved
6 *
7 *  $Id: common.h 859 2006-04-24 20:35:59Z sam $
8 *
9 *  This library is free software; you can redistribute it and/or
10 *  modify it under the terms of the Do What The Fuck You Want To
11 *  Public License, Version 2, as published by Sam Hocevar. See
12 *  http://sam.zoy.org/wtfpl/COPYING for more details.
13 */
14
15/*
16 *  This file contains replacements for commonly found object types and
17 *  function prototypes that are sometimes missing.
18 */
19
20#if !defined(HAVE_INTTYPES_H)
21typedef signed char int8_t;
22typedef signed short int16_t;
23typedef signed long int int32_t;
24
25typedef unsigned char uint8_t;
26typedef unsigned short uint16_t;
27typedef unsigned long int uint32_t;
28
29typedef long int intptr_t;
30typedef unsigned long int uintptr_t;
31#endif
32
Note: See TracBrowser for help on using the repository browser.