Commit c74a885f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Include: add some win32 comment

parent 01946f23
......@@ -398,12 +398,12 @@ typedef struct meta_engine_t meta_engine_t;
/* stat/lstat/fstat */
#ifdef WIN32
#include <sys/stat.h>
# include <sys/stat.h>
# ifndef UNDER_CE
struct _stati64;
#define stat _stati64
#define fstat _fstati64
# define stat _stati64
# define fstat _fstati64
#endif
/* You should otherwise use vlc_stat and vlc_lstat. */
......@@ -472,6 +472,8 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
* OS-specific headers and thread types
*****************************************************************************/
#if defined( WIN32 ) || defined( UNDER_CE )
/* WIN32_LEAN_AND_MEAN is needed to be able to include winsock2.h because else,
* windows.h will also include winsock.h and declarations will conflict */
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#endif
......@@ -855,7 +857,7 @@ static inline void SetQWLE (void *p, uint64_t qw)
# endif
# endif
# if defined( _MSC_VER ) && !defined( __WXMSW__ )
# if defined( _MSC_VER )
# if !defined( _OFF_T_DEFINED )
typedef __int64 off_t;
# define _OFF_T_DEFINED
......
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