diff options
| author | John Haley <johnh@axosoft.com> | 2015-08-05 10:19:06 -0700 |
|---|---|---|
| committer | John Haley <johnh@axosoft.com> | 2015-08-05 13:02:58 -0700 |
| commit | eba784d24d12ad7243708d97d80427bbdc9fd2b7 (patch) | |
| tree | 3f1c8d36fb0b29c9c443aa89f682d507cae53d49 /src/path.c | |
| parent | cf716beed2f4729cf01a9822d75b4f1ebf7ccbf1 (diff) | |
| download | libgit2-eba784d24d12ad7243708d97d80427bbdc9fd2b7.tar.gz | |
Fix duplicate basenames to support older VS
With Visual Studio versions 2008 and older they ignore the full path to files and only check
the basename of the file to find a collision. Additionally, having duplicate basenames can break
other build tools like GYP.
This fixes https://github.com/libgit2/libgit2/issues/3356
Diffstat (limited to 'src/path.c')
| -rw-r--r-- | src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c index 8317aaaa7..9ce5d2978 100644 --- a/src/path.c +++ b/src/path.c @@ -10,7 +10,7 @@ #include "repository.h" #ifdef GIT_WIN32 #include "win32/posix.h" -#include "win32/buffer.h" +#include "win32/w32_buffer.h" #include "win32/w32_util.h" #include "win32/version.h" #else |
