diff options
Diffstat (limited to 'tools/ucl/src/ucl_dll.c')
-rw-r--r-- | tools/ucl/src/ucl_dll.c | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/tools/ucl/src/ucl_dll.c b/tools/ucl/src/ucl_dll.c new file mode 100644 index 0000000000..ec9df43e73 --- /dev/null +++ b/tools/ucl/src/ucl_dll.c | |||
@@ -0,0 +1,61 @@ | |||
1 | /* ucl_dll.c -- DLL initialization of the UCL library | ||
2 | |||
3 | This file is part of the UCL data compression library. | ||
4 | |||
5 | Copyright (C) 1996-2002 Markus Franz Xaver Johannes Oberhumer | ||
6 | All Rights Reserved. | ||
7 | |||
8 | The UCL 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. | ||
12 | |||
13 | The UCL 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. | ||
17 | |||
18 | You should have received a copy of the GNU General Public License | ||
19 | along with the UCL library; see the file COPYING. | ||
20 | If not, write to the Free Software Foundation, Inc., | ||
21 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
22 | |||
23 | Markus F.X.J. Oberhumer | ||
24 | <markus@oberhumer.com> | ||
25 | http://www.oberhumer.com/opensource/ucl/ | ||
26 | */ | ||
27 | |||
28 | |||
29 | #include "ucl_conf.h" | ||
30 | |||
31 | |||
32 | /*********************************************************************** | ||
33 | // Windows 16 bit + Watcom C + DLL | ||
34 | ************************************************************************/ | ||
35 | |||
36 | #if defined(__UCL_WIN16) && defined(__WATCOMC__) && defined(__SW_BD) | ||
37 | |||
38 | /* don't pull in <windows.h> - we don't need it */ | ||
39 | #if 0 | ||
40 | #include <windows.h> | ||
41 | #endif | ||
42 | |||
43 | #pragma off (unreferenced); | ||
44 | #if 0 && defined(WINVER) | ||
45 | BOOL FAR PASCAL LibMain ( HANDLE hInstance, WORD wDataSegment, | ||
46 | WORD wHeapSize, LPSTR lpszCmdLine ) | ||
47 | #else | ||
48 | int __far __pascal LibMain ( int a, short b, short c, long d ) | ||
49 | #endif | ||
50 | #pragma on (unreferenced); | ||
51 | { | ||
52 | return 1; | ||
53 | } | ||
54 | |||
55 | #endif | ||
56 | |||
57 | |||
58 | |||
59 | /* | ||
60 | vi:ts=4:et | ||
61 | */ | ||