summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-05-02 12:51:58 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-05-02 15:54:58 +0200
commitedb3a6139ef7424f99ed860c516e9dbe4e644ce7 (patch)
tree499186dd09db82acfb9e7f7407368c023cad2ac1 /scripts
parent49ca600c6ec7d2409feef7f4590b7a6586a90eed (diff)
downloadmupdf-edb3a6139ef7424f99ed860c516e9dbe4e644ce7.tar.xz
Fix 692171: Guard against .incbin on Intel's C compiler.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fontdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fontdump.c b/scripts/fontdump.c
index add26437..8c1220ce 100644
--- a/scripts/fontdump.c
+++ b/scripts/fontdump.c
@@ -50,7 +50,7 @@ main(int argc, char **argv)
fprintf(fo, "#ifndef __STRICT_ANSI__\n");
fprintf(fo, "#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)\n");
- fprintf(fo, "#ifndef __clang__\n");
+ fprintf(fo, "#if !defined(__clang__) && !defined(__ICC)\n");
fprintf(fo, "#define HAVE_INCBIN\n");
fprintf(fo, "#endif\n");
fprintf(fo, "#endif\n");