mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
6d678c927c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@808 a592a061-630c-0410-9148-cb99ea01b6c8
22 lines
401 B
C
22 lines
401 B
C
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
#undef WIN32_LEAN_AND_MEAN
|
|
#include <stdio.h>
|
|
|
|
extern "C" {
|
|
BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
|
|
}
|
|
|
|
#include <cygwin/cygwin_dll.h>
|
|
DECLARE_CYGWIN_DLL( DllMain );
|
|
HINSTANCE __hDllInstance_base;
|
|
|
|
BOOL APIENTRY
|
|
DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
|
|
{
|
|
__hDllInstance_base = hInst;
|
|
return TRUE;
|
|
}
|
|
|