Changeset 4689 for libcaca


Ignore:
Timestamp:
Oct 13, 2010, 1:04:53 AM (8 years ago)
Author:
Sam Hocevar
Message:

Fix the Win32 build: ssize_t was no longer defined.

File:
1 edited

Legend:

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

    r4687 r4689  
    5252            typedef unsigned long long int uint64_t;
    5353#       endif
    54 #       if defined _WIN64
    55             /* Win64, (u)intptr_t and size_t are present */
    56             typedef int ssize_t;
    57 #       else
    58             /* Win32, only (u)intptr_t is present */
    59             typedef int ssize_t;
    60             typedef unsigned int size_t;
    61 #       endif
     54#   endif
     55#   if defined _WIN64
     56        /* Win64, (u)intptr_t and size_t are present */
     57        typedef int ssize_t;
     58#   else
     59        /* Win32, only (u)intptr_t is present */
     60        typedef int ssize_t;
     61        typedef unsigned int size_t;
    6262#   endif
    6363#endif
Note: See TracChangeset for help on using the changeset viewer.