credui: Make wincred.h C++ compatible.

Francois Gouget fgouget at free.fr
Wed Feb 7 09:23:23 CST 2007


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

diff --git a/include/wincred.h b/include/wincred.h
index f66af02..8f4f1f3 100644
--- a/include/wincred.h
+++ b/include/wincred.h
@@ -19,6 +19,10 @@
 #ifndef _WINCRED_H_
 #define _WINCRED_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifndef __SECHANDLE_DEFINED__
 #define __SECHANDLE_DEFINED__
 typedef struct _SecHandle
@@ -100,4 +104,8 @@ DWORD WINAPI CredUIStoreSSOCredW(PCWSTR,PCWSTR,PCWSTR,BOOL);
 DWORD WINAPI CredUIReadSSOCredW(PCWSTR,PWSTR*);
 /* Note: no CredUIReadSSOCredA in PSDK header */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _WINCRED_H_ */
-- 
1.4.4.3




More information about the wine-patches mailing list