Summary: | Rename string.h and math.h to avoid compile errors for customers in Xcode | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Joseph Heenan <joseph.heenan> |
Component: | fitz | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | tor.andersson |
Priority: | P2 | ||
Version: | master | ||
Hardware: | iPad | ||
OS: | iOS 9 | ||
Customer: | Word Size: | --- |
Description
Joseph Heenan
2017-01-12 10:16:59 UTC
Fixed in commit 8577a7cf12ccdb258b773a03471663952fd12a4c Author: Tor Andersson <tor.andersson@artifex.com> Date: Fri Jan 13 13:20:59 2017 +0100 Fix 697476: Rename header files. Xcode has an idiotic default configuration where it gets confused by include search paths and file names in projects, so that it will load our "mupdf/fitz/math.h" instead of the system <math.h>. Work around this by renaming header files that have the same base name as a system header (even though they live in a subdirectory, and should never be available directly on the compiler's include path). |