Guard header by WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5860 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/shlobj.h b/mingw-w64-headers/include/shlobj.h index add77ea..836df3b 100644 --- a/mingw-w64-headers/include/shlobj.h +++ b/mingw-w64-headers/include/shlobj.h
@@ -6,6 +6,9 @@ #ifndef _SHLOBJ_H_ #define _SHLOBJ_H_ +#include <winapifamily.h> +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + #include <_mingw_unicode.h> #ifndef _WINRESRC_ @@ -2675,4 +2678,7 @@ typedef struct IEnumPrivacyRecords IEnumPrivacyRecords; #endif SHDOCAPI DoPrivacyDlg(HWND hwndParent,LPOLESTR pszUrl,IEnumPrivacyRecords *pPrivacyEnum,WINBOOL fReportAllSites); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ + #endif