diff options
author | NIIBE Yutaka <[email protected]> | 2019-09-24 11:26:32 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-09-24 11:26:32 +0000 |
commit | f73605e039493ca875f992a45730a6c99430fb14 (patch) | |
tree | 4e87f729f06e3a074e727f92a20a14c71c98d45d | |
parent | tests: Fix deallocation of buffer in t-b64.c. (diff) | |
download | libgpg-error-f73605e039493ca875f992a45730a6c99430fb14.tar.gz libgpg-error-f73605e039493ca875f992a45730a6c99430fb14.zip |
Fix gpg-error.c for preprocessor use.
* src/gpg-error.c (main): Fix conditional compilation.
--
Reported-by: Rey Abeleda <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | src/gpg-error.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpg-error.c b/src/gpg-error.c index 2eb5e7b..ec460bb 100644 --- a/src/gpg-error.c +++ b/src/gpg-error.c @@ -493,13 +493,13 @@ main (int argc, char *argv[]) "Print all error codes"), ARGPARSE_c (CMD_DEFINES, "defines", "Print all error codes as #define lines"), - ARGPARSE_c (CMD_LOCALE, "locale", #if HAVE_W32_SYSTEM - "Return the locale used for gettext" + ARGPARSE_c (CMD_LOCALE, "locale", + "Return the locale used for gettext"), #else - "@" + ARGPARSE_c (CMD_LOCALE, "locale", + "@"), #endif - ), ARGPARSE_s_n (OPT_DESC, "desc", "Print with error description"), ARGPARSE_end() |