Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
258 B

  1. #ifdef __MINGW32__
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. /* set errno to WSAGetLastError() */
  6. int winsock2errno(long l);
  7. void __winsock_init(void);
  8. #ifdef __cplusplus
  9. }
  10. #endif
  11. #else
  12. #define winsock2errno(fnord) (fnord)
  13. #define __winsock_init()
  14. #endif