]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump-stdinc.h
Improved quality, bug fixes, typos. Added test case
[tcpdump] / tcpdump-stdinc.h
index d350d1be126b3c7529162fc95eeef83434cd8be2..1e5fc3a9fcf9c1a1fa8f1ce12ee3a0a2128b087f 100644 (file)
@@ -84,6 +84,13 @@ extern const char *inet_ntop (int, const void *, char *, size_t);
 extern int inet_pton (int, const char *, void *);
 extern int inet_aton (const char *cp, struct in_addr *addr);
 
+/*
+ * With MSVC, for C, __inline is used to make a function an inline.
+ */
+#ifdef _MSC_VER
+#define inline __inline
+#endif
+
 #ifndef INET6_ADDRSTRLEN
 #define INET6_ADDRSTRLEN 46
 #endif