Ignore:
Timestamp:
Mar 9, 2006, 1:47:37 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added glue code to compile libcaca without a libc and build applications as multiboot kernels.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul_internals.h

    r560 r568  
    2121#define __CUCUL_INTERNALS_H__
    2222
    23 #if defined(HAVE_INTTYPES_H) || defined(_DOXYGEN_SKIP_ME)
     23#if defined(HAVE_INTTYPES_H) && !defined(__KERNEL__)
    2424#   include <inttypes.h>
    25 #elif !defined(CUSTOM_INTTYPES)
     25#elif !defined(CUSTOM_INTTYPES) && !defined(_DOXYGEN_SKIP_ME)
    2626#   define CUSTOM_INTTYPES
    2727typedef unsigned char uint8_t;
    28 typedef unsigned char uint16_t;
     28typedef unsigned short uint16_t;
    2929typedef unsigned int uint32_t;
    3030#endif
Note: See TracChangeset for help on using the changeset viewer.