Skip to content

Commit 38df454

Browse files
committed
Fix [-Wundef] warning in GD extension
1 parent 9d8f475 commit 38df454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/libgd/gd_tga.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ int read_header_tga(gdIOCtx *ctx, oTga *tga)
168168
tga->fliph = (header[17] & 0x10) ? 1 : 0;
169169
tga->flipv = (header[17] & 0x20) ? 0 : 1;
170170

171-
#if DEBUG
171+
#ifdef DEBUG
172172
printf("format bps: %i\n", tga->bits);
173173
printf("flip h/v: %i / %i\n", tga->fliph, tga->flipv);
174174
printf("alpha: %i\n", tga->alphabits);

0 commit comments

Comments
 (0)