ucl_dll.c 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* ucl_dll.c -- DLL initialization of the UCL library
  2. This file is part of the UCL data compression library.
  3. Copyright (C) 1996-2002 Markus Franz Xaver Johannes Oberhumer
  4. All Rights Reserved.
  5. The UCL library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of
  8. the License, or (at your option) any later version.
  9. The UCL library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with the UCL library; see the file COPYING.
  15. If not, write to the Free Software Foundation, Inc.,
  16. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. Markus F.X.J. Oberhumer
  18. <markus@oberhumer.com>
  19. http://www.oberhumer.com/opensource/ucl/
  20. */
  21. #include "ucl_conf.h"
  22. /***********************************************************************
  23. // Windows 16 bit + Watcom C + DLL
  24. ************************************************************************/
  25. #if defined(__UCL_WIN16) && defined(__WATCOMC__) && defined(__SW_BD)
  26. /* don't pull in <windows.h> - we don't need it */
  27. #if 0
  28. #include <windows.h>
  29. #endif
  30. #pragma off (unreferenced);
  31. #if 0 && defined(WINVER)
  32. BOOL FAR PASCAL LibMain ( HANDLE hInstance, WORD wDataSegment,
  33. WORD wHeapSize, LPSTR lpszCmdLine )
  34. #else
  35. int __far __pascal LibMain ( int a, short b, short c, long d )
  36. #endif
  37. #pragma on (unreferenced);
  38. {
  39. return 1;
  40. }
  41. #endif
  42. /*
  43. vi:ts=4:et
  44. */