forked from Mirrors/wine-wine
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
parent
4972b18632
commit
caade2f611
|
@ -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,
|
||||||
|
@ -117,7 +121,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 New Issue