Francois Gouget : clusapi: Make clusapi.h C++ compatible.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 8 06:20:19 CST 2007


Module: wine
Branch: master
Commit: dc600ac53e5452842f6bab423bb8ba454a61353f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc600ac53e5452842f6bab423bb8ba454a61353f

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Feb  7 23:48:29 2007 +0100

clusapi: Make clusapi.h C++ compatible.

---

 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 */




More information about the wine-cvs mailing list