mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 09:05:58 +00:00
path: ifdef GIT_WIN32 looks_like_network_computer_name()
This commit is contained in:
parent
036e81f726
commit
2e40c616c7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user