From 5a83772834e8913f9cd03eced96ca458b9d48ebf Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 1 Sep 2021 07:56:20 -0700 Subject: [PATCH] ps_font_equiv.h: remove unused 'DARWIN' branch The macro defined on macOS is `__APPLE__`, not `DARWIN`. The build system conditionally defines `DARWIN`, but config.h is not included in this file so that has no effect. The else case of this logic is the same as the `DARWIN` case so removing this has no effect. --- lib/common/ps_font_equiv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/common/ps_font_equiv.h b/lib/common/ps_font_equiv.h index acc8c0f17..a7a54e3f6 100644 --- a/lib/common/ps_font_equiv.h +++ b/lib/common/ps_font_equiv.h @@ -1,6 +1,4 @@ -#ifdef DARWIN -#define TIMES "Times" -#elif defined(_WIN32) +#if defined(_WIN32) #define TIMES "Times New Roman" #else #define TIMES "Times" -- 2.40.0