From: Jamie Madill Date: Wed, 18 Feb 2015 16:17:27 +0000 (-0500) Subject: Enable Win32 Release asserts. X-Git-Tag: upstream/0.1.0~1949 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27339e881172853ab075264582da8cbc931ed654;p=platform%2Fupstream%2FVK-GL-CTS.git Enable Win32 Release asserts. Use the same workaround as for UNIX OSes, where the code undefs NDEBUG before including assert.h. Change-Id: I2b6b31c4b6a88d2635b30087a9e36849fcb9f8e7 --- diff --git a/framework/delibs/debase/deDefs.c b/framework/delibs/debase/deDefs.c index caf345f..b664724 100644 --- a/framework/delibs/debase/deDefs.c +++ b/framework/delibs/debase/deDefs.c @@ -43,7 +43,7 @@ DE_STATIC_ASSERT(DE_PTR_SIZE == sizeof(void*)); # error "DE_CPU and DE_PTR_SIZE mismatch" #endif -#if (DE_OS == DE_OS_UNIX) && defined(NDEBUG) +#if (DE_OS == DE_OS_UNIX || DE_OS == DE_OS_WIN32) && defined(NDEBUG) /* We need __assert_fail declaration from assert.h */ # undef NDEBUG #endif