2009-01-21 10:21:57 -05:00
|
|
|
#ifndef COMPAT_H
|
|
|
|
#define COMPAT_H
|
|
|
|
|
|
|
|
#ifdef __WIN32__
|
2010-02-08 16:23:12 -05:00
|
|
|
unsigned int sleep(unsigned int seconds);
|
|
|
|
char *compat_strerror(int errnum);
|
2009-01-21 10:21:57 -05:00
|
|
|
//const char *inet_ntop(int af, void *src, const char *dst, socklen_t cnt);
|
|
|
|
#else
|
|
|
|
#define compat_strerror strerror
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|