mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 20:27:43 +00:00
propvarutil.h: Add extern "C" if __cplusplus is defined.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46939 Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a2f60aaa83
commit
da998cb206
|
@ -22,6 +22,10 @@
|
||||||
#include <shtypes.h>
|
#include <shtypes.h>
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
enum tagPROPVAR_CHANGE_FLAGS
|
enum tagPROPVAR_CHANGE_FLAGS
|
||||||
{
|
{
|
||||||
PVCHF_DEFAULT = 0x00000000,
|
PVCHF_DEFAULT = 0x00000000,
|
||||||
|
@ -120,7 +124,12 @@ inline HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif /* NO_PROPVAR_INLINES */
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __WINE_PROPVARUTIL_H */
|
#endif /* __WINE_PROPVARUTIL_H */
|
||||||
|
|
Loading…
Reference in a new issue