comparison libmpdvdkit2/device.h @ 9333:f0f0f176d298

sync with libdvdcss 1.2.5 (including u8->uint8_t and whitespace cosmetics...) patch by Andreas Hess <jaska@gmx.net>
author arpi
date Sat, 08 Feb 2003 00:22:39 +0000
parents 0211de3039eb
children 8e6981e8f50a
comparison
equal deleted inserted replaced
9332:a604236b0dd6 9333:f0f0f176d298
10 * 10 *
11 * This program is free software; you can redistribute it and/or modify 11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by 12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or 13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version. 14 * (at your option) any later version.
15 * 15 *
16 * This program is distributed in the hope that it will be useful, 16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details. 19 * GNU General Public License for more details.
20 * 20 *
24 *****************************************************************************/ 24 *****************************************************************************/
25 25
26 /***************************************************************************** 26 /*****************************************************************************
27 * iovec structure: vectored data entry 27 * iovec structure: vectored data entry
28 *****************************************************************************/ 28 *****************************************************************************/
29 #if defined( WIN32 ) 29 #if defined( WIN32 ) && !defined( SYS_CYGWIN )
30 # include <io.h> /* read() */ 30 # include <io.h> /* read() */
31 #else 31 #else
32 # include <sys/types.h>
32 # include <sys/uio.h> /* struct iovec */ 33 # include <sys/uio.h> /* struct iovec */
33 #endif 34 #endif
34 35
35 #if defined( WIN32 ) 36 #if defined( WIN32 ) && !defined( SYS_CYGWIN )
36 struct iovec 37 struct iovec
37 { 38 {
38 void *iov_base; /* Pointer to data. */ 39 void *iov_base; /* Pointer to data. */
39 size_t iov_len; /* Length of data. */ 40 size_t iov_len; /* Length of data. */
40 }; 41 };