summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/00-cairo_public.patch
blob: 3d718b0214cc9a47b0ad99f3eceb649b606f6bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# HG changeset patch
# User Jonathan Kew <jkew@mozilla.com>
# Date 1713882230 -3600
#      Tue Apr 23 15:23:50 2024 +0100
# Node ID 18ffa0ace007ca3b1acb66c9081089ea2d2e0917
# Parent  8f822dbadb73fcfb8765937ea6bdfbaed5bd0c2c
Avoid redefinition of cairo_public

diff --git a/gfx/cairo/cairo/src/cairo.h b/gfx/cairo/cairo/src/cairo.h
--- a/gfx/cairo/cairo/src/cairo.h
+++ b/gfx/cairo/cairo/src/cairo.h
@@ -67,7 +67,9 @@
 # define _cairo_api _cairo_import
 #endif
 
+#ifndef cairo_public
 #define cairo_public _cairo_api extern
+#endif
 
 CAIRO_BEGIN_DECLS