diff options
Diffstat (limited to 'external/pdfium/cg-instead-of-carbon.patch.1')
-rw-r--r-- | external/pdfium/cg-instead-of-carbon.patch.1 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/external/pdfium/cg-instead-of-carbon.patch.1 b/external/pdfium/cg-instead-of-carbon.patch.1 new file mode 100644 index 000000000..055eac735 --- /dev/null +++ b/external/pdfium/cg-instead-of-carbon.patch.1 @@ -0,0 +1,23 @@ +-*- Mode: Diff -*- +--- a/core/fxge/apple/fx_quartz_device.h ++++ b/core/fxge/apple/fx_quartz_device.h +@@ -7,7 +7,7 @@ + #ifndef CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_ + #define CORE_FXGE_APPLE_FX_QUARTZ_DEVICE_H_ + +-#include <Carbon/Carbon.h> ++#include <CoreGraphics/CoreGraphics.h> + #include <stdint.h> + + #include "core/fxcrt/retain_ptr.h" +--- a/core/fpdfapi/font/cpdf_type1font.cpp ++++ b/core/fpdfapi/font/cpdf_type1font.cpp +@@ -19,7 +19,7 @@ + #include "core/fxge/fx_font.h" + + #if BUILDFLAG(IS_APPLE) +-#include <Carbon/Carbon.h> ++#include <CoreGraphics/CoreGraphics.h> + #endif // BUILDFLAG(IS_APPLE) + + namespace { |