Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:ownCloud:toolchains:mingw:win32:stable
mingw32-headers
order.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File order.diff of Package mingw32-headers
From: Jan Engelhardt <jengelh@inai.de> Date: 2015-03-26 10:55:28.730890877 +0100 References: https://sourceforge.net/p/mingw-w64/bugs/476/ In downstream packages, gcc emits: CC master.o In file included from master.c:48:0: /usr/x86_64-w64-mingw32/sys-root/mingw/include/shlobj.h:37:3: error: unknown type name 'EXTERN_C' SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); SHLFOLDERAPI is defined to expand to something with EXTERN_C, however, EXTERN_C is not defined at the time of SHGetFolderPathW declaration. --- include/shlobj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: mingw-w64-headers/include/shlobj.h =================================================================== --- mingw-w64-headers.orig/include/shlobj.h +++ mingw-w64-headers/include/shlobj.h @@ -34,7 +34,6 @@ typedef enum { SHGFP_TYPE_DEFAULT = 1, } SHGFP_TYPE; - SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); #endif @@ -718,6 +717,7 @@ extern "C" { SHSTDAPI_(void) SHFlushSFCache (void); SHFOLDERAPI SHGetFolderPathA (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPSTR pszPath); + SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); SHSTDAPI SHGetFolderLocation (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, PIDLIST_ABSOLUTE *ppidl); SHSTDAPI SHSetFolderPathA (int csidl, HANDLE hToken, DWORD dwFlags, LPCSTR pszPath); SHSTDAPI SHSetFolderPathW (int csidl, HANDLE hToken, DWORD dwFlags, LPCWSTR pszPath);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor