1 /* lzo_dll.ch -- DLL initialization of the LZO library
3 This file is part of the LZO real-time data compression library.
5 Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
8 The LZO library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of
11 the License, or (at your option) any later version.
13 The LZO library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with the LZO library; see the file COPYING.
20 If not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 Markus F.X.J. Oberhumer
24 <markus@oberhumer.com>
25 http://www.oberhumer.com/opensource/lzo/
29 /***********************************************************************
30 // Windows 16 bit + Watcom C + DLL
31 ************************************************************************/
33 #if (LZO_OS_WIN16 && LZO_CC_WATCOMC) && defined(__SW_BD)
35 /* don't pull in <windows.h> - we don't need it */
37 BOOL FAR PASCAL LibMain ( HANDLE hInstance, WORD wDataSegment,
38 WORD wHeapSize, LPSTR lpszCmdLine )
40 int __far __pascal LibMain ( int a, short b, short c, long d )
43 LZO_UNUSED(a); LZO_UNUSED(b); LZO_UNUSED(c); LZO_UNUSED(d);