Fix -DNDEBUG support
Change-Id: Ib64cef83a646bce2b0afa72b607fb9e5c306e859
This commit is contained in:
@@ -272,7 +272,10 @@ datetime::timestamp::now(void)
|
||||
|
||||
::timeval data;
|
||||
{
|
||||
const int ret = ::gettimeofday(&data, NULL);
|
||||
#if defined(__minix) && !defined(NDEBUG)
|
||||
const int ret =
|
||||
#endif /* defined(__minix) && !defined(NDEBUG) */
|
||||
::gettimeofday(&data, NULL);
|
||||
INV(ret != -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user