Procházet zdrojové kódy

build: various MSVC compilation fixes.

undefined
Sam Hocevar před 12 roky
rodič
revize
d4241a2a84
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/core.h

+ 2
- 1
src/core.h Zobrazit soubor

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


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




Načítá se…
Zrušit
Uložit