]> git.sesse.net Git - vlc/commitdiff
es_out_timeshift: don't use GetTempPathW for Windows Store app
authorRafaël Carré <funman@videolan.org>
Thu, 9 May 2013 13:35:28 +0000 (15:35 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 9 May 2013 13:35:28 +0000 (15:35 +0200)
src/input/es_out_timeshift.c

index 520f7358119c10344cbec055280c9c8ebfdd6f03..561c87b4df4989eb15a14624553b801d81829f93 100644 (file)
@@ -1553,7 +1553,7 @@ static char *GetTmpPath( char *psz_path )
     free( psz_path );
 
     /* Create a suitable path */
-#if defined (WIN32)
+#if defined (WIN32) && !VLC_WINSTORE_APP
     const DWORD dwCount = GetTempPathW( 0, NULL );
     wchar_t *psw_path = calloc( dwCount + 1, sizeof(wchar_t) );
     if( psw_path )