Francois Gouget : credui: Make wincred.h C++ compatible.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 16:00:18 CST 2007


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

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

credui: Make wincred.h C++ compatible.

---

 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,
 DWORD WINAPI CredUIReadSSOCredW(PCWSTR,PWSTR*);
 /* Note: no CredUIReadSSOCredA in PSDK header */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _WINCRED_H_ */




More information about the wine-cvs mailing list