Explorar el Código

build: various MSVC compilation fixes.

undefined
Sam Hocevar hace 10 años
padre
commit
d4241a2a84
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/core.h

+ 2
- 1
src/core.h Ver fichero

@@ -95,11 +95,12 @@

/* Ensure we have ssize_t */
#if defined ssize_t
/* do nothing */
/* Do nothing, someone knows better than us it seems */
#elif HAVE_SYS_TYPES_H
# include <sys/types.h>
#elif _MSC_VER /* Visual Studio compiler */
# include <BaseTsd.h>
# define _MSC_STDINT_H_
typedef SSIZE_T ssize_t;
#endif



Cargando…
Cancelar
Guardar