瀏覽代碼

build: various MSVC compilation fixes.

undefined
Sam Hocevar 11 年之前
父節點
當前提交
d4241a2a84
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/core.h

+ 2
- 1
src/core.h 查看文件

@@ -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



Loading…
取消
儲存