aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t-version.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-04-09 07:35:39 +0000
committerWerner Koch <[email protected]>2025-04-09 07:35:39 +0000
commit26b876030dbda890b9630595419b422aa182c0dd (patch)
treeed9cbed274183c4d7118b763e258abdca231174b /tests/t-version.c
parentUse gpgrt_stream_t for the API of gpgrt_nvc_*. (diff)
downloadlibgpg-error-26b876030dbda890b9630595419b422aa182c0dd.tar.gz
libgpg-error-26b876030dbda890b9630595419b422aa182c0dd.zip
tests: Check that we do not use the es macros in the public API.
* tests/t-version.c: Undef the macros.
Diffstat (limited to 'tests/t-version.c')
-rw-r--r--tests/t-version.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/t-version.c b/tests/t-version.c
index d71f360..98f540a 100644
--- a/tests/t-version.c
+++ b/tests/t-version.c
@@ -20,6 +20,10 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#undef GPG_ERR_ENABLE_GETTEXT_MACROS
+#undef GPGRT_ENABLE_ES_MACROS
+#undef GPGRT_ENABLE_LOG_MACROS
+#undef GPGRT_ENABLE_ARGPARSE_MACROS
#include <stdio.h>
#include <stdlib.h>