Merge branch 'libradsec' into libradsec-server-support
[libradsec.git] / lib / compat.h
index d3083e9..bb43e9b 100644 (file)
@@ -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);