Ignore:
Timestamp:
May 14, 2009, 12:04:26 PM (11 years ago)
Author:
Sam Hocevar
Message:

Fixed libcaca and the Visual Studio solution so that it works
on Win64, including the .NET projects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_types.h.in

    r2821 r3452  
    3434#   include <unistd.h>
    3535
    36 /* mode 3: <windows.h> indicates Win32, only (u)intptr_t is present
    37  * FIXME: Win64 probably doesn't work that way */
     36/* mode 3: Win32, only (u)intptr_t is present */
    3837#elif CACA_TYPES == 3
    3938#include <windows.h>
     
    5150typedef int ssize_t;
    5251typedef unsigned int size_t;
     52
     53/* mode 4: Win64, only (u)intptr_t and size_t are present */
     54#elif CACA_TYPES == 4
     55#include <windows.h>
     56
     57typedef signed char int8_t;
     58typedef signed short int16_t;
     59typedef signed long int int32_t;
     60typedef signed long long int int64_t;
     61
     62typedef unsigned char uint8_t;
     63typedef unsigned short uint16_t;
     64typedef unsigned long int uint32_t;
     65typedef unsigned long long int uint64_t;
     66
     67typedef int ssize_t;
    5368
    5469/* fallback: nothing is known, we assume the platform is 32-bit and
     
    99114
    100115#endif /* __CACA_TYPES_H__ */
    101 
Note: See TracChangeset for help on using the changeset viewer.