summaryrefslogtreecommitdiffstats
path: root/src/cairo-1-DllMain.patch
diff options
context:
space:
mode:
authorMatthias Gehre <M.Gehre@gmx.de>2012-04-14 20:07:27 (GMT)
committerMatthias Gehre <M.Gehre@gmx.de>2012-04-14 20:07:27 (GMT)
commitca8ff92c7f9fcee2560271cd790d03b4ea0cc8fd (patch)
tree2a9c220c5a5bd24a9d4ce2cf674adcf7520ab41d /src/cairo-1-DllMain.patch
parentcdaffc615025d1a50a2c30409abd801f0079266b (diff)
downloadmxe-ca8ff92c7f9fcee2560271cd790d03b4ea0cc8fd.zip
mxe-ca8ff92c7f9fcee2560271cd790d03b4ea0cc8fd.tar.gz
mxe-ca8ff92c7f9fcee2560271cd790d03b4ea0cc8fd.tar.bz2
cairo: Rename DllMain to cairo_DllMain
Diffstat (limited to 'src/cairo-1-DllMain.patch')
-rw-r--r--src/cairo-1-DllMain.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cairo-1-DllMain.patch b/src/cairo-1-DllMain.patch
new file mode 100644
index 0000000..cb87fde
--- /dev/null
+++ b/src/cairo-1-DllMain.patch
@@ -0,0 +1,18 @@
+diff -uNr cairo-1.10.2-orig/src/cairo-system.c cairo-1.10.2/src/cairo-system.c
+--- cairo-1.10.2-orig/src/cairo-system.c 2010-06-18 13:47:14.000000000 +0200
++++ cairo-1.10.2/src/cairo-system.c 2012-04-14 22:01:27.848928137 +0200
+@@ -70,12 +70,12 @@
+
+ /* declare to avoid "no previous prototype for 'DllMain'" warning */
+ BOOL WINAPI
+-DllMain (HINSTANCE hinstDLL,
++cairo_DllMain (HINSTANCE hinstDLL,
+ DWORD fdwReason,
+ LPVOID lpvReserved);
+
+ BOOL WINAPI
+-DllMain (HINSTANCE hinstDLL,
++cairo_DllMain (HINSTANCE hinstDLL,
+ DWORD fdwReason,
+ LPVOID lpvReserved)
+ {