mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 21:01:48 +02:00
Suppress GCC 6 warning about self-comparison
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
This commit is contained in:
parent
92d4294d4b
commit
a2fd62dd53
@ -86,7 +86,11 @@ skip_drive(const char *path)
|
|||||||
bool
|
bool
|
||||||
has_drive_prefix(const char *path)
|
has_drive_prefix(const char *path)
|
||||||
{
|
{
|
||||||
|
#ifdef WIN32
|
||||||
return skip_drive(path) != path;
|
return skip_drive(path) != path;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user