* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vlc_common.h,v 1.56 2003/03/03 16:49:14 gbazin Exp $
+ * $Id: vlc_common.h,v 1.57 2003/03/04 21:12:04 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
# endif
#endif
+#if defined( WIN32 )
+# include <malloc.h>
+#endif
+
#if defined( WIN32 ) || defined( UNDER_CE )
typedef int ssize_t;
#endif
# define off_t unsigned __int64
# endif
-# ifdef lseek
-# undef lseek
-# define lseek _lseeki64
-# endif
-
# ifndef O_NONBLOCK
# define O_NONBLOCK 0
# endif
* file.c: file input (file: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: file.c,v 1.12 2003/03/03 14:21:08 gbazin Exp $
+ * $Id: file.c,v 1.13 2003/03/04 21:12:04 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
# include <io.h>
#endif
+#if defined( WIN32 ) && !defined( UNDER_CE )
+# ifdef lseek
+# undef lseek
+# endif
+# define lseek _lseeki64
+#endif
/*****************************************************************************
* Exported prototypes
*****************************************************************************/