Commit 81d271b9 authored by Gildas Bazin's avatar Gildas Bazin

* include/vlc_common.h: define PATH_MAX on WinCE.

parent 4283e470
......@@ -122,7 +122,7 @@ typedef int ptrdiff_t;
# endif
#endif
#if defined( WIN32 )
#if defined( WIN32 ) || defined( UNDER_CE )
# include <malloc.h>
# ifndef PATH_MAX
# define PATH_MAX MAX_PATH
......
......@@ -68,7 +68,7 @@ int E_(OpenDecoder) ( vlc_object_t *p_this )
{
decoder_t *p_dec = (decoder_t*)p_this;
decoder_sys_t *p_sys;
char psz_file[ MAX_PATH ];
char psz_file[ PATH_MAX ];
vlc_value_t val;
/* Allocate the memory needed to store the decoder's structure */
......
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