Author: akhaldi
Date: Sun Jan 9 20:40:34 2011
New Revision: 50346
URL:
http://svn.reactos.org/svn/reactos?rev=50346&view=rev
Log:
[CMAKE]
- Reduce libxml2 warnings.
Modified:
branches/cmake-bringup/include/psdk/wspiapi.h
Modified: branches/cmake-bringup/include/psdk/wspiapi.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/psdk/wspi…
==============================================================================
--- branches/cmake-bringup/include/psdk/wspiapi.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/psdk/wspiapi.h [iso-8859-1] Sun Jan 9 20:40:34 2011
@@ -44,6 +44,12 @@
#define getaddrinfo WspiapiGetAddrInfo
#define getnameinfo WspiapiGetNameInfo
#define freeaddrinfo WspiapiFreeAddrInfo
+
+#if _MSC_VER
+#define WSPIAPI_INLINE __inline
+#else
+#define WSPIAPI_INLINE static inline
+#endif
typedef int
(WINAPI *WSPIAPI_PGETADDRINFO)(
@@ -441,7 +447,7 @@
"freeaddrinfo", (FARPROC) WspiapiLegacyFreeAddrInfo, \
}
-FORCEINLINE
+WSPIAPI_INLINE
FARPROC
WINAPI
WspiapiLoad(
@@ -503,7 +509,7 @@
return (rgtGlobal[wFunction].pfAddress);
}
-FORCEINLINE
+WSPIAPI_INLINE
int
WINAPI
WspiapiGetAddrInfo(
@@ -522,7 +528,7 @@
return iError;
}
-FORCEINLINE
+WSPIAPI_INLINE
int
WINAPI
WspiapiGetNameInfo(
@@ -544,7 +550,7 @@
return iError;
}
-FORCEINLINE
+WSPIAPI_INLINE
void
WINAPI
WspiapiFreeAddrInfo(