diff options
Diffstat (limited to 'lib/compat.h')
-rw-r--r-- | lib/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compat.h b/lib/compat.h index d3083e9..bb43e9b 100644 --- a/lib/compat.h +++ b/lib/compat.h @@ -1,5 +1,11 @@ /* Copyright 2011 NORDUnet A/S. All rights reserved. See LICENSE for licensing information. */ +#ifdef _WIN32 +#define INLINE __inline +#else +#define INLINE inline +#endif + ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags); ssize_t compat_recv (int sockfd, void *buf, size_t len, int flags); |