Browse Source

Fix the Win32 build: ssize_t was no longer defined.

tags/v0.99.beta18
Sam Hocevar sam 14 years ago
parent
commit
4e3e2d95d0
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      caca/caca_types.h

+ 8
- 8
caca/caca_types.h View File

@@ -51,14 +51,14 @@
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;
# endif
# if defined _WIN64
/* Win64, (u)intptr_t and size_t are present */
typedef int ssize_t;
# else
/* Win32, only (u)intptr_t is present */
typedef int ssize_t;
typedef unsigned int size_t;
# endif
# endif
# if defined _WIN64
/* Win64, (u)intptr_t and size_t are present */
typedef int ssize_t;
# else
/* Win32, only (u)intptr_t is present */
typedef int ssize_t;
typedef unsigned int size_t;
# endif
#endif



Loading…
Cancel
Save