Skip to content

Commit 3876e2b

Browse files
tectonic/dpx: replace #if to #ifdef
DPXTEST and ENABLE_NOEMBED are not defined by default, the #if are meant to be a #ifdef.
1 parent 7d8c5fc commit 3876e2b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tectonic/dpx-fontmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ strip_options (const char *map_name, fontmap_opt *opt)
12811281
return font_name;
12821282
}
12831283

1284-
#if DPXTEST
1284+
#ifdef DPXTEST
12851285
static void
12861286
dump_fontmap_rec (const char *key, const fontmap_rec *mrec)
12871287
{

tectonic/dpx-subfont.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ release_sfd_record (void)
474474
}
475475

476476

477-
#if DPXTEST
477+
#ifdef DPXTEST
478478
/* SFD file dumper */
479479
#ifdef HAVE_ICONV
480480
#include <iconv.h>

tectonic/dpx-truetype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ pdf_font_load_truetype (pdf_font *font)
949949
return -1;
950950
}
951951

952-
#if ENABLE_NOEMBED
952+
#ifdef ENABLE_NOEMBED
953953
if (!embedding) {
954954
sfnt_close(sfont);
955955
if (fp)

0 commit comments

Comments
 (0)