projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3799b8b
)
Enable Win32 Release asserts.
author
Jamie Madill
<jmadill@google.com>
Wed, 18 Feb 2015 16:17:27 +0000
(11:17 -0500)
committer
Pyry Haulos
<phaulos@google.com>
Thu, 19 Feb 2015 20:32:23 +0000
(12:32 -0800)
Use the same workaround as for UNIX OSes, where the code undefs
NDEBUG before including assert.h.
Change-Id: I2b6b31c4b6a88d2635b30087a9e36849fcb9f8e7
framework/delibs/debase/deDefs.c
patch
|
blob
|
history
diff --git
a/framework/delibs/debase/deDefs.c
b/framework/delibs/debase/deDefs.c
index
caf345f
..
b664724
100644
(file)
--- 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