Commit da24e557 authored by Rafaël Carré's avatar Rafaël Carré

es_out_timeshift: don't use GetTempPathW for Windows Store app

parent 56ca35c2
...@@ -1553,7 +1553,7 @@ static char *GetTmpPath( char *psz_path ) ...@@ -1553,7 +1553,7 @@ static char *GetTmpPath( char *psz_path )
free( psz_path ); free( psz_path );
/* Create a suitable path */ /* Create a suitable path */
#if defined (WIN32) #if defined (WIN32) && !VLC_WINSTORE_APP
const DWORD dwCount = GetTempPathW( 0, NULL ); const DWORD dwCount = GetTempPathW( 0, NULL );
wchar_t *psw_path = calloc( dwCount + 1, sizeof(wchar_t) ); wchar_t *psw_path = calloc( dwCount + 1, sizeof(wchar_t) );
if( psw_path ) if( psw_path )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment