Ignore:
Timestamp:
Apr 20, 2008, 12:51:20 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Get the project to build in an alternate directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul_types.h.in

    r2304 r2308  
    2424#endif
    2525
    26 /* mode 1: standard <inttypes.h> header is present, just include it */
     26/* mode 1: standard <stdint.h> header is present, just include it */
    2727#if CUCUL_TYPES == 1
     28#   include <stdint.h>
     29#   include <unistd.h>
     30
     31/* mode 2: standard <inttypes.h> header is present, just include it */
     32#elif CUCUL_TYPES == 2
    2833#   include <inttypes.h>
    29 
    30 /* mode 2: standard <stdint.h> header is present, just include it */
    31 #elif CUCUL_TYPES == 2
    32 #   include <stdint.h>
     34#   include <unistd.h>
    3335
    3436/* fallback: nothing is available, we assume the platform is 32-bit and
     
    4850typedef unsigned long int uintptr_t;
    4951
     52typedef int ssize_t;
     53typedef unsigned int size_t;
     54
    5055#endif
    5156
Note: See TracChangeset for help on using the changeset viewer.