shithub: libdvdcss

Download patch

ref: 933f36763e17753b5ba1fefbe24620025852de7b
parent: b077da2918b1f24352dda95e92ee477359413345
author: Gildas Bazin <[email protected]>
date: Thu Sep 2 08:17:13 EDT 2004

* src/common.h: use lseeki64 for file seeking on win32 (works above the 2.1G boundary).

--- a/src/common.h
+++ b/src/common.h
@@ -3,7 +3,7 @@
  * Collection of useful common types and macros definitions
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.5 2003/04/11 10:00:29 gbazin Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <[email protected]>
  *          Vincent Seguin <[email protected]>
@@ -49,6 +49,8 @@
 #ifndef PATH_MAX
 #   define PATH_MAX MAX_PATH
 #endif
+
+#define lseek _lseeki64
 
 /* several type definitions */
 #   if defined( __MINGW32__ )