Commit 2e40c616 by Michael Schubert

path: ifdef GIT_WIN32 looks_like_network_computer_name()

parent 036e81f7
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#define LOOKS_LIKE_DRIVE_PREFIX(S) (git__isalpha((S)[0]) && (S)[1] == ':') #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) static bool looks_like_network_computer_name(const char *path, int pos)
{ {
if (pos < 3) if (pos < 3)
...@@ -34,6 +35,7 @@ static bool looks_like_network_computer_name(const char *path, int pos) ...@@ -34,6 +35,7 @@ static bool looks_like_network_computer_name(const char *path, int pos)
return true; return true;
} }
#endif
/* /*
* Based on the Android implementation, BSD licensed. * Based on the Android implementation, BSD licensed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment