]> git.lyx.org Git - lyx.git/blob - sigc++/ltdll.c
visual support for \displaystyle
[lyx.git] / sigc++ / ltdll.c
1
2 #define WIN32_LEAN_AND_MEAN
3 #include <windows.h>
4 #undef WIN32_LEAN_AND_MEAN
5 #include <stdio.h>
6
7 extern "C" {
8 BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
9 }
10
11 #include <cygwin/cygwin_dll.h>
12 DECLARE_CYGWIN_DLL( DllMain );
13 HINSTANCE __hDllInstance_base;
14
15 BOOL APIENTRY
16 DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
17 {
18   __hDllInstance_base = hInst;
19   return TRUE;
20 }
21