/*****************************************************************************
* Required vlc headers
*****************************************************************************/
-#if defined( _MSC_VER )
-# pragma warning( disable : 4244 )
-#endif
-
#include "vlc_config.h"
/*****************************************************************************
/*****************************************************************************
* Basic types definitions
*****************************************************************************/
-#if defined( WIN32 ) || defined( UNDER_CE )
+#if defined( WIN32 )
# include <malloc.h>
# ifndef PATH_MAX
# define PATH_MAX MAX_PATH
/*****************************************************************************
* OS-specific headers and thread types
*****************************************************************************/
-#if defined( WIN32 ) || defined( UNDER_CE )
+#if defined( WIN32 )
# include <windows.h>
#endif
/* Stuff defined in src/extras/libc.c */
-#if defined(WIN32) || defined(UNDER_CE)
-/* win32, cl and icl support */
-# if defined( _MSC_VER ) || !defined( __MINGW32__ )
-# define __attribute__(x)
-# define S_IFBLK 0x3000 /* Block */
-# define S_ISBLK(m) (0)
-# define S_ISCHR(m) (0)
-# define S_ISFIFO(m) (((m)&_S_IFMT) == _S_IFIFO)
-# define S_ISREG(m) (((m)&_S_IFMT) == _S_IFREG)
-# endif
+#if defined(WIN32)
/* several type definitions */
# if defined( __MINGW32__ )
# endif
# endif
-# if defined( _MSC_VER )
-# if !defined( _OFF_T_DEFINED )
- typedef __int64 off_t;
-# define _OFF_T_DEFINED
-# else
- /* for wx compatibility typedef long off_t; */
-# define off_t __int64
-# endif
-# endif
-
-# if defined( __BORLANDC__ )
-# undef off_t
-# define off_t unsigned __int64
-# endif
-
# ifndef O_NONBLOCK
# define O_NONBLOCK 0
# endif
-# ifndef alloca
-# define alloca _alloca
-# endif
-
# include <tchar.h>
#endif
#include "vlc_main.h"
#include "vlc_configuration.h"
-#if defined( WIN32 ) || defined( UNDER_CE ) || defined( __SYMBIAN32__ ) || defined( __OS2__ )
+#if defined( WIN32 ) || defined( __SYMBIAN32__ ) || defined( __OS2__ )
# define DIR_SEP_CHAR '\\'
# define DIR_SEP "\\"
# define PATH_SEP_CHAR ';'