mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-06 01:49:24 +00:00
Check for _WIN32 instead of GIT_WIN32 or WIN32 to detect windows build environments
This fixes a possible compilation issue (when GIT_WIN32 was not set) which was introduced in revision 69a4bc1988
.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
c02f13925a
commit
8c327228fd
@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef GIT_WIN32
|
||||
#ifdef _WIN32
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user