Commit 71d9f0d0 authored by Geoffroy Couprie's avatar Geoffroy Couprie Committed by Rémi Denis-Courmont

WinCE: header inclusion fixes

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent 84b3a5e6
......@@ -383,10 +383,18 @@ typedef struct meta_engine_t meta_engine_t;
/* stat/lstat/fstat */
#ifdef WIN32
# ifdef UNDER_CE
# undef _STAT_DEFINED
# endif
#include <sys/stat.h>
# ifndef UNDER_CE
struct _stati64;
#define stat _stati64
#define fstat _fstati64
# else
# define stat _stat
# define fstat _fstat
# endif
/* You should otherwise use utf8_stat and utf8_lstat. */
#else
struct stat;
......@@ -485,6 +493,9 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
# define LIBVLC_EXTERN extern
#endif
#if defined (WIN32) && defined (DLL_EXPORT)
#if defined (UNDER_CE)
# include <windef.h>
#endif
# define LIBVLC_EXPORT __declspec(dllexport)
#else
# define LIBVLC_EXPORT
......
......@@ -278,7 +278,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
else
{
#ifdef HAVE_UNISTD_H
#if defined (HAVE_UNISTD_H) && !defined (UNDER_CE)
/* Get the current working directory */
char *psz_cwd = getcwd( NULL, 0 );
#else
......
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