Sfoglia il codice sorgente

Fix the Win32 build: ssize_t was no longer defined.

tags/v0.99.beta18
Sam Hocevar sam 14 anni fa
parent
commit
4e3e2d95d0
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. +8
    -8
      caca/caca_types.h

+ 8
- 8
caca/caca_types.h Vedi 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



Caricamento…
Annulla
Salva