quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

windows_port.c (595B)


      1 /**********************************************************************
      2  *
      3  * Copyright (c) 1998 Massachusetts Institute of Technology
      4  * Copyright (C) Daniel Stenberg
      5  *
      6  * SPDX-License-Identifier: MIT
      7  *
      8  */
      9 #include "ares_private.h"
     10 
     11 
     12 /* only do the following on windows
     13  */
     14 #if defined(_WIN32) && !defined(MSDOS)
     15 
     16 #  ifdef __WATCOMC__
     17 /*
     18  * Watcom needs a DllMain() in order to initialise the clib startup code.
     19  */
     20 BOOL WINAPI DllMain(HINSTANCE hnd, DWORD reason, LPVOID reserved)
     21 {
     22   (void)hnd;
     23   (void)reason;
     24   (void)reserved;
     25   return (TRUE);
     26 }
     27 #  endif
     28 
     29 #endif /* WIN32 builds only */