summaryrefslogtreecommitdiff
path: root/lib/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat.h')
-rw-r--r--lib/compat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/compat.h b/lib/compat.h
index f132779..63de65f 100644
--- a/lib/compat.h
+++ b/lib/compat.h
@@ -1,5 +1,11 @@
-/* Copyright 2011 NORDUnet A/S. All rights reserved.
+/* Copyright 2011,2013 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);