diff options
author | Thomas Haller <thaller@redhat.com> | 2016-06-16 11:04:51 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-06-16 11:04:51 +0200 |
commit | 89d32944af5a64c864cb3ad421d198206680b383 (patch) | |
tree | 2368840b9e5ef5e4b209cdcc1ee5f403d6e4f899 | |
parent | 6dd2b316b5d03b28d2dd792dc4fa25a695b26d4f (diff) | |
download | NetworkManager-89d32944af5a64c864cb3ad421d198206680b383.tar.gz |
tests: fix checking NM_ASSERT_NO_MSG define in "nm-test-utils.h"
"nm-test-utils.h" may also be used by the VPN plugins, there
we have no NM_ASSERT_NO_MSG define.
-rw-r--r-- | shared/nm-utils/nm-test-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-utils/nm-test-utils.h b/shared/nm-utils/nm-test-utils.h index 83e1f47e47..dba41c4ba9 100644 --- a/shared/nm-utils/nm-test-utils.h +++ b/shared/nm-utils/nm-test-utils.h @@ -92,7 +92,7 @@ #include "nm-default.h" -#if NM_ASSERT_NO_MSG +#if defined(NM_ASSERT_NO_MSG) && NM_ASSERT_NO_MSG #undef g_return_if_fail_warning #undef g_assertion_message_expr #endif |