Commit 81d271b9 authored by gbazin's avatar gbazin

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

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