Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdcss
Commits
3ff04753
Commit
3ff04753
authored
Nov 09, 2005
by
Sam Hocevar
Browse files
* src/common.h: do not override lseek on Cygwin, only on mingw32. Cygwin
provides its own 64-bit offset lseek.
parent
20948206
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/common.h
View file @
3ff04753
...
@@ -50,10 +50,9 @@
...
@@ -50,10 +50,9 @@
# define PATH_MAX MAX_PATH
# define PATH_MAX MAX_PATH
# endif
# endif
# define lseek64 _lseeki64
/* several type definitions */
/* several type definitions */
# if defined( __MINGW32__ )
# if defined( __MINGW32__ )
# define lseek _lseeki64
# if !defined( _OFF_T_ )
# if !defined( _OFF_T_ )
typedef
long
long
_off_t
;
typedef
long
long
_off_t
;
typedef
_off_t
off_t
;
typedef
_off_t
off_t
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment