mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Build fix for Windows.
Refs# 6191
This commit is contained in:
parent
2e2f356459
commit
b2246f3af9
@ -1033,6 +1033,6 @@ bool Utility::PathExists(const String& path)
|
||||
return (lstat(path.CStr(), &statbuf) >= 0);
|
||||
#else /* _WIN32 */
|
||||
struct _stat statbuf;
|
||||
return (_stat(path.CStr(), &statbuf) >= 0)
|
||||
return (_stat(path.CStr(), &statbuf) >= 0);
|
||||
#endif /* _WIN32 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user