shithub: libdvdcss

Download patch

ref: 3ff0475329552066207a5b83ae014ddffc7b86a4
parent: 2094820645b8689a700c64ed68b1c92f821e68a8
author: Sam Hocevar <sam@videolan.org>
date: Wed Nov 9 17:12:32 EST 2005

* src/common.h: do not override lseek on Cygwin, only on mingw32. Cygwin
    provides its own 64-bit offset lseek. 


--- a/src/common.h
+++ b/src/common.h
@@ -50,10 +50,9 @@
 #      define PATH_MAX MAX_PATH
 #   endif
 
-#   define lseek64 _lseeki64
-
 /* several type definitions */
 #   if defined( __MINGW32__ )
+#       define lseek _lseeki64
 #       if !defined( _OFF_T_ )
 typedef long long _off_t;
 typedef _off_t off_t;