mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 07:48:07 +02:00
util: Fixes -Wundef in u_debug_stack_test.cpp
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19926>
This commit is contained in:
parent
485505d550
commit
84d6a615ea
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ TEST(u_debug_stack_test, basics)
|
|||
debug_backtrace_dump(stored_backtrace, 16);
|
||||
}
|
||||
|
||||
#if _POSIX_C_SOURCE >= 200809L
|
||||
#if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L)
|
||||
|
||||
TEST(u_debug_stack_test, capture_not_overwritten)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue