comparison libmpdvdkit2/common.h @ 16630:954cdf2171f6

upgrade to libdvdcss 1.2.9
author diego
date Sat, 01 Oct 2005 17:19:33 +0000
parents c2ddedd0619e
children 0af14c5fee82
comparison
equal deleted inserted replaced
16629:045e93202e4a 16630:954cdf2171f6
1 /***************************************************************************** 1 /*****************************************************************************
2 * common.h: common definitions 2 * common.h: common definitions
3 * Collection of useful common types and macros definitions 3 * Collection of useful common types and macros definitions
4 ***************************************************************************** 4 *****************************************************************************
5 * Copyright (C) 1998, 1999, 2000 VideoLAN 5 * Copyright (C) 1998, 1999, 2000 VideoLAN
6 *
7 * Modified for use with MPlayer, changes contained in libdvdcss_changes.diff.
8 * detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
9 * $Id$ 6 * $Id$
10 * 7 *
11 * Authors: Samuel Hocevar <sam@via.ecp.fr> 8 * Authors: Samuel Hocevar <sam@via.ecp.fr>
12 * Vincent Seguin <seguin@via.ecp.fr> 9 * Vincent Seguin <seguin@via.ecp.fr>
13 * Gildas Bazin <gbazin@netcourrier.com> 10 * Gildas Bazin <gbazin@netcourrier.com>
40 37
41 #ifndef PATH_MAX 38 #ifndef PATH_MAX
42 # define PATH_MAX MAX_PATH 39 # define PATH_MAX MAX_PATH
43 #endif 40 #endif
44 41
42 #define lseek _lseeki64
43
45 /* several type definitions */ 44 /* several type definitions */
46 # if defined( __MINGW32__ ) 45 # if defined( __MINGW32__ )
47 # if !defined( _OFF_T_ ) 46 # if !defined( _OFF_T_ )
48 typedef long long _off_t; 47 typedef long long _off_t;
49 typedef _off_t off_t; 48 typedef _off_t off_t;