from some systems.tags/v0.99.beta14
| @@ -3,7 +3,7 @@ | |||||
| SUBDIRS = kernel cucul caca src test tools cpp doc | SUBDIRS = kernel cucul caca src test tools cpp doc | ||||
| DIST_SUBDIRS = $(SUBDIRS) autotools debian msvc | DIST_SUBDIRS = $(SUBDIRS) autotools debian msvc | ||||
| EXTRA_DIST = NOTES COPYING.GPL COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in libcaca.spec | |||||
| EXTRA_DIST = NOTES COPYING.GPL COPYING.LGPL bootstrap build-dos build-kernel build-win32 caca-config.in common.h libcaca.spec | |||||
| AUTOMAKE_OPTIONS = dist-bzip2 | AUTOMAKE_OPTIONS = dist-bzip2 | ||||
| bin_SCRIPTS = caca-config | bin_SCRIPTS = caca-config | ||||
| @@ -0,0 +1,28 @@ | |||||
| /* | |||||
| * libcucul Canvas for ultrafast compositing of Unicode letters | |||||
| * libcaca Colour ASCII-Art library | |||||
| * Copyright (c) 2006 Sam Hocevar <sam@zoy.org> | |||||
| * All Rights Reserved | |||||
| * | |||||
| * $Id$ | |||||
| * | |||||
| * This library is free software; you can redistribute it and/or | |||||
| * modify it under the terms of the Do What The Fuck You Want To | |||||
| * Public License, Version 2, as published by Sam Hocevar. See | |||||
| * http://sam.zoy.org/wtfpl/COPYING for more details. | |||||
| */ | |||||
| /* | |||||
| * This file contains replacements for commonly found object types and | |||||
| * function prototypes that are sometimes missing. | |||||
| */ | |||||
| #if !defined(HAVE_INTTYPES_H) | |||||
| typedef signed char int8_t; | |||||
| typedef signed short int16_t; | |||||
| typedef signed long int int32_t; | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned long int uint32_t; | |||||
| #endif | |||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #if defined(HAVE_ENDIAN_H) | #if defined(HAVE_ENDIAN_H) | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #if !defined(__KERNEL__) | #if !defined(__KERNEL__) | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| @@ -12,13 +12,10 @@ | |||||
| */ | */ | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "common.h" | |||||
| #if defined(HAVE_INTTYPES_H) | #if defined(HAVE_INTTYPES_H) | ||||
| # include <inttypes.h> | # include <inttypes.h> | ||||
| #else | |||||
| typedef unsigned char uint8_t; | |||||
| typedef unsigned short uint16_t; | |||||
| typedef unsigned int uint32_t; | |||||
| #endif | #endif | ||||
| #include <stdio.h> | #include <stdio.h> | ||||