提交 cd17abdf 编写于 作者: J Junio C Hamano

Merge branch 'vr/msvc'

* vr/msvc:
  MSVC: Remove unneeded header stubs
  Compile fix for MSVC: Include <io.h>
  Compile fix for MSVC: Do not include sys/resources.h
......@@ -4,6 +4,7 @@
#include <direct.h>
#include <process.h>
#include <malloc.h>
#include <io.h>
/* porting function */
#define inline __inline
......
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
/* Intentionally empty file to support building git with MSVC */
......@@ -116,7 +116,12 @@
#else
#include <poll.h>
#endif
#ifndef __MINGW32__
#if defined(__MINGW32__)
/* pull in Windows compatibility stuff */
#include "compat/mingw.h"
#elif defined(_MSC_VER)
#include "compat/msvc.h"
#else
#include <sys/wait.h>
#include <sys/resource.h>
#include <sys/socket.h>
......@@ -145,12 +150,6 @@
#include <grp.h>
#define _ALL_SOURCE 1
#endif
#else /* __MINGW32__ */
/* pull in Windows compatibility stuff */
#include "compat/mingw.h"
#endif /* __MINGW32__ */
#ifdef _MSC_VER
#include "compat/msvc.h"
#endif
#ifndef NO_LIBGEN_H
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册