Mercurial > mxe-octave
annotate src/atk-1-DllMain.patch @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | 1c7c6c090223 |
children |
rev | line source |
---|---|
2395
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
1 diff -uNr atk-2.2.0-orig/atk/atkobject.c atk-2.2.0/atk/atkobject.c |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
2 --- atk-2.2.0-orig/atk/atkobject.c 2011-09-19 19:06:54.000000000 +0200 |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
3 +++ atk-2.2.0/atk/atkobject.c 2012-04-14 20:26:12.763814596 +0200 |
3164
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2395
diff
changeset
|
4 @@ -369,7 +369,11 @@ |
2395
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
5 static HMODULE atk_dll; |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
6 |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
7 BOOL WINAPI |
3164
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2395
diff
changeset
|
8 +#ifdef DLL_EXPORT |
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2395
diff
changeset
|
9 DllMain (HINSTANCE hinstDLL, |
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2395
diff
changeset
|
10 +#else |
2395
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
11 +atk_DllMain (HINSTANCE hinstDLL, |
3164
1c7c6c090223
[MSVC] enable ATK compilation (and bump version to 2.8.0)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
2395
diff
changeset
|
12 +#endif |
2395
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
13 DWORD fdwReason, |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
14 LPVOID lpvReserved) |
0bec20cb78f6
atk: rename DllMain to atk_DllMain
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff
changeset
|
15 { |