clusapi: Make clusapi.h C++ compatible.

Francois Gouget fgouget at free.fr
Wed Feb 7 16:48:29 CST 2007


---
 include/clusapi.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/clusapi.h b/include/clusapi.h
index 0772b59..ff4577f 100644
--- a/include/clusapi.h
+++ b/include/clusapi.h
@@ -19,6 +19,14 @@
 #ifndef __WINE_CLUSAPI_H
 #define __WINE_CLUSAPI_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, LPDWORD pdwClusterState);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __WINE_CLUSAPI_H */
-- 
1.4.4.3



More information about the wine-patches mailing list