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.
 
 
 

13 lines
259 B

  1. #ifndef COMPAT_H
  2. #define COMPAT_H
  3. #ifdef __WIN32__
  4. unsigned int sleep(unsigned int seconds);
  5. char *compat_strerror(int errnum);
  6. //const char *inet_ntop(int af, void *src, const char *dst, socklen_t cnt);
  7. #else
  8. #define compat_strerror strerror
  9. #endif
  10. #endif