mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 00:40:19 +01:00
glib-aux/tests: reinclude <assert.h> with NDEBUG undefined
While we usually don't do that, we also want to build with NDEBUG. But in that case, we don't want that the assertions from our unit tests are disabled. Solve that by undefining NDEBUG and re-including <assert.h>.
This commit is contained in:
parent
51e41566a7
commit
0d5b04ad9c
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@
|
|||
#undef g_assertion_message_expr
|
||||
#endif
|
||||
|
||||
#undef NDEBUG
|
||||
#include <assert.h>
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue