windows_port.c 409 B

1234567891011121314151617181920212223
  1. #include "setup.h"
  2. /* $Id$ */
  3. /* only do the following on windows
  4. */
  5. #if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
  6. #ifdef __WATCOMC__
  7. /*
  8. * Watcom needs a DllMain() in order to initialise the clib startup code.
  9. */
  10. BOOL
  11. WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
  12. {
  13. (void) hnd;
  14. (void) reason;
  15. (void) reserved;
  16. return (TRUE);
  17. }
  18. #endif
  19. #endif /* WIN32 builds only */