Mercurial > mxe-octave
view src/atk-1-DllMain.patch @ 3439:c9ade6d47f3a
Provide new variable to check whether we are doing a Windows build.
* Makefile.in (MXE_WINDOWS_BUILD): New variable.
* src/libgmop.mk: Use it.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Jan 2014 01:09:48 -0500 |
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) {