[vlc-commits] win32: dirs: Fix winstore build

Hugo Beauzée-Luyssen git at videolan.org
Fri Nov 17 10:23:10 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Nov 16 17:32:57 2017 +0100| [9229f4c03bea6f4dd7b8e3c069060feb4b30b9bb] | committer: Hugo Beauzée-Luyssen

win32: dirs: Fix winstore build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9229f4c03bea6f4dd7b8e3c069060feb4b30b9bb
---

 src/win32/dirs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/win32/dirs.c b/src/win32/dirs.c
index cf68bf16cc..8a8876a1a2 100644
--- a/src/win32/dirs.c
+++ b/src/win32/dirs.c
@@ -52,6 +52,10 @@
 #include <windows.storage.h>
 #include <roapi.h>
 
+#ifndef CSIDL_LOCAL_APPDATA
+# define CSIDL_LOCAL_APPDATA 0x001C
+#endif
+
 static HRESULT WinRTSHGetFolderPath(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath)
 {
     VLC_UNUSED(hwnd);



More information about the vlc-commits mailing list