X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=modules%2Faccess_filter%2Ftimeshift.c;h=0a124baa8587671d27b401251cfae5288cf54996;hb=cd7e38e74d9c1e70a32f6dc40ad9505b4a1fad20;hp=df486743e31a5916687944c42d72568a23006d41;hpb=4c11c09425ddad30d60ac388930826e4f042289a;p=vlc diff --git a/modules/access_filter/timeshift.c b/modules/access_filter/timeshift.c index df486743e3..0a124baa85 100644 --- a/modules/access_filter/timeshift.c +++ b/modules/access_filter/timeshift.c @@ -40,7 +40,7 @@ #include -#ifdef WIN32 +#if defined (WIN32) && !defined (UNDER_CE) # include /* _wgetcwd */ #endif @@ -579,7 +579,7 @@ static char *GetTmpFilePath( access_t *p_access ) if( psz_dir == NULL ) { -#ifdef WIN32 +#if defined (WIN32) && !defined (UNDER_CE) DWORD ret = GetTempPathW (0, NULL); wchar_t wdir[ret + 3]; // can at least old "C:" + nul const wchar_t *pwdir = wdir;