view src/atk-1-DllMain.patch @ 6339:7526630d3e39 release

* src/of-instrument-control.mk: update to v0.8.0 (grafted from ae7e70790b1170d1e92d4dab554e71df9af3cbff)
author John Donoghue <john.donoghue@ieee.org>
date Thu, 21 Jul 2022 14:40:46 -0400
parents 1c7c6c090223
children
line wrap: on
line source

diff -uNr atk-2.2.0-orig/atk/atkobject.c atk-2.2.0/atk/atkobject.c
--- atk-2.2.0-orig/atk/atkobject.c	2011-09-19 19:06:54.000000000 +0200
+++ atk-2.2.0/atk/atkobject.c	2012-04-14 20:26:12.763814596 +0200
@@ -369,7 +369,11 @@
 static HMODULE atk_dll;
 
 BOOL WINAPI
+#ifdef DLL_EXPORT
 DllMain (HINSTANCE hinstDLL,
+#else
+atk_DllMain (HINSTANCE hinstDLL,
+#endif
 	 DWORD     fdwReason,
 	 LPVOID    lpvReserved)
 {