diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2023-02-28 14:44:56 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-03-01 15:15:18 +0000 |
commit | 0b10686f2e3b2bab0b70839bb5926e4d599ccb9c (patch) | |
tree | 6a71d0b7963bef3a53defd269a567acf6bf74e7a /pdf | |
parent | fe0f842da782b097ce13c31fccacce2374ed6d4b (diff) | |
download | ghostpdl-0b10686f2e3b2bab0b70839bb5926e4d599ccb9c.tar.gz |
Use GS_STRINGIZE() macro, rather than define a local version
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdftop.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pdf/pdftop.c b/pdf/pdftop.c index 525eef39e..1bef0955f 100644 --- a/pdf/pdftop.c +++ b/pdf/pdftop.c @@ -53,9 +53,7 @@ typedef struct pdf_interp_instance_s extern const char gp_file_name_list_separator; -#define _PDFI_STRING_IT(s) #s -#define PDFI_STRING_IT(s) _PDFI_STRING_IT(s) -#define GS_LIB_DEFAULT_STRING PDFI_STRING_IT(GS_LIB_DEFAULT) +#define GS_LIB_DEFAULT_STRING GS_STRINGIZE(GS_LIB_DEFAULT) static int pdf_detect_language(const char *s, int len) |