ethstream/compat.h

13 lines
259 B
C

#ifndef COMPAT_H
#define COMPAT_H
#ifdef __WIN32__
unsigned int sleep(unsigned int seconds);
char *compat_strerror(int errnum);
//const char *inet_ntop(int af, void *src, const char *dst, socklen_t cnt);
#else
#define compat_strerror strerror
#endif
#endif