Ignore:
Timestamp:
Apr 19, 2008, 2:42:50 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Remove #include <stdint.h> etc. from "common.h". Instead, make sure that <cucul.h> will provide the C99 types, even if libcaca has been installed.
  • Rename what's left of "common.h" to "stubs.h".
  • Remove all references to erroneous <inttypes.h> from source files.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/stubs.h

    r2298 r2299  
    1818 */
    1919
    20 /* C99 types */
    21 #if defined HAVE_INTTYPES_H && !defined __KERNEL__
    22 #   include <inttypes.h>
    23 #else
    24 typedef signed char int8_t;
    25 typedef signed short int16_t;
    26 typedef signed long int int32_t;
    27 
    28 typedef unsigned char uint8_t;
    29 typedef unsigned short uint16_t;
    30 typedef unsigned long int uint32_t;
    31 
    32 typedef long int intptr_t;
    33 typedef unsigned long int uintptr_t;
    34 #endif
     20#ifndef __STUBS_H__
     21#define __STUBS_H__
    3522
    3623/* errno handling */
     
    10895#endif
    10996
     97#endif /* __STUBS_H__ */
     98
Note: See TracChangeset for help on using the changeset viewer.