diff options
| author | Vicent Marti <tanoku@gmail.com> | 2013-01-03 04:24:12 +0100 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2013-01-03 04:24:12 +0100 |
| commit | 7761ce21625564b6526b89326c14a9843a1403d4 (patch) | |
| tree | 7982836b366da36a70017d8ce15856e08d7d27a2 /src/path.c | |
| parent | 4236164a77b57c42641530a523590a913ba299f9 (diff) | |
| parent | 922dd9788cfec2ec4727e1b264a2ad6a7f4849ba (diff) | |
| download | libgit2-7761ce21625564b6526b89326c14a9843a1403d4.tar.gz | |
Merge branch 'development' into clar2
Conflicts:
tests-clar/clone/nonetwork.c
tests-clar/online/clone.c
tests-clar/online/fetchhead.c
Diffstat (limited to 'src/path.c')
| -rw-r--r-- | src/path.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path.c b/src/path.c index dd6bb70ad..1b1f554c7 100644 --- a/src/path.c +++ b/src/path.c @@ -19,6 +19,7 @@ #define LOOKS_LIKE_DRIVE_PREFIX(S) (git__isalpha((S)[0]) && (S)[1] == ':') +#ifdef GIT_WIN32 static bool looks_like_network_computer_name(const char *path, int pos) { if (pos < 3) @@ -34,6 +35,7 @@ static bool looks_like_network_computer_name(const char *path, int pos) return true; } +#endif /* * Based on the Android implementation, BSD licensed. |
