зеркало из https://github.com/microsoft/git.git
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
This commit is contained in:
Коммит
cd17abdf75
|
@ -4,6 +4,7 @@
|
|||
#include <direct.h>
|
||||
#include <process.h>
|
||||
#include <malloc.h>
|
||||
#include <io.h>
|
||||
|
||||
/* porting function */
|
||||
#define inline __inline
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* Intentionally empty file to support building git with MSVC */
|
|
@ -1 +0,0 @@
|
|||
/* 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
|
||||
|
|
Загрузка…
Ссылка в новой задаче