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>
(cherry picked from commit da998cb206)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
Austin English 2019-04-03 01:43:54 -05:00 committed by Michael Stefaniuc
parent 4972b18632
commit caade2f611
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,
@ -117,7 +121,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 */