Fix build breakage on non-linux
Bug: 79173901 Test: liblp_test gtest Change-Id: I846e99f636ed05f97e44d05a617dc17b5f127d2e
This commit is contained in:
parent
1db3789252
commit
2b67f0b85b
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device
|
|||
}
|
||||
return true;
|
||||
#else
|
||||
(void)block_device;
|
||||
(void)device_info;
|
||||
LERROR << __PRETTY_FUNCTION__ << ": Not supported on this operating system.";
|
||||
return false;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue