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:
Austin English 2019-04-03 01:43:54 -05:00 committed by Alexandre Julliard
parent a2f60aaa83
commit da998cb206
1 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,10 @@
#include <shtypes.h>
#include <shlwapi.h>
#ifdef __cplusplus
extern "C" {
#endif
enum tagPROPVAR_CHANGE_FLAGS
{
PVCHF_DEFAULT = 0x00000000,
@ -120,7 +124,12 @@ inline HRESULT InitPropVariantFromInt64(LONGLONG llVal, PROPVARIANT *ppropvar)
return S_OK;
}
#endif
#endif /* NO_PROPVAR_INLINES */
#endif /* __cplusplus */
#ifdef __cplusplus
}
#endif
#endif /* __WINE_PROPVARUTIL_H */