summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-28 22:34:35 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-05-29 09:58:46 +0200
commit8313c963dafa0b6774f1d30539c090c313b25c02 (patch)
treeb5c8aba5fbf3c7c62d42cd184a95e88104bf91ea /scripts
parentcbd2c7bbcb856fd4e9cccb67f1d27dbc95e9caeb (diff)
downloadmupdf-8313c963dafa0b6774f1d30539c090c313b25c02.tar.xz
Fix fontdump .incbin ifdef for clang.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fontdump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/fontdump.c b/scripts/fontdump.c
index 34d996a4..2dda0058 100644
--- a/scripts/fontdump.c
+++ b/scripts/fontdump.c
@@ -50,9 +50,11 @@ main(int argc, char **argv)
fprintf(fo, "#ifndef __STRICT_ANSI__\n");
fprintf(fo, "#if defined(__linux__) || defined(__FreeBSD__)\n");
+ fprintf(fo, "#if defined(__gcc__)\n");
fprintf(fo, "#define HAVE_INCBIN\n");
fprintf(fo, "#endif\n");
fprintf(fo, "#endif\n");
+ fprintf(fo, "#endif\n");
for (i = 2; i < argc; i++)
{