mirror of
https://github.com/git/git.git
synced 2026-03-14 02:43:25 +01:00
Include compat/mingw.h early in git-compat-util.h.
By doing so we can make the rest of git-compat-util.h believe that some functionality is actually available. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
@@ -89,7 +89,10 @@
|
||||
#include <grp.h>
|
||||
#define _ALL_SOURCE 1
|
||||
#endif
|
||||
#endif /* !__MINGW32__ */
|
||||
#else /* __MINGW32__ */
|
||||
/* pull in Windows compatibility stuff */
|
||||
#include "compat/mingw.h"
|
||||
#endif /* __MINGW32__ */
|
||||
|
||||
#ifndef NO_ICONV
|
||||
#include <iconv.h>
|
||||
@@ -468,8 +471,6 @@ void git_qsort(void *base, size_t nmemb, size_t size,
|
||||
|
||||
#ifdef __MINGW32__
|
||||
|
||||
#include "compat/mingw.h"
|
||||
|
||||
static inline int has_dos_drive_prefix(const char *path)
|
||||
{
|
||||
return isalpha(*path) && path[1] == ':';
|
||||
|
||||
Reference in New Issue
Block a user