Fix -DNDEBUG support

Change-Id: Ib64cef83a646bce2b0afa72b607fb9e5c306e859
This commit is contained in:
2014-08-22 19:11:59 +02:00
parent 222afb38ac
commit 3260d16f34
20 changed files with 117 additions and 23 deletions

View File

@@ -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);
}