diff libmpdvdkit2/common.h @ 16726:880739620241

Compile fix: _lseeki64 is not available under cygwin
author reimar
date Tue, 11 Oct 2005 12:17:09 +0000
parents 2ab52c9b72b9
children 0783dd397f74
line wrap: on
line diff
--- a/libmpdvdkit2/common.h	Tue Oct 11 08:50:32 2005 +0000
+++ b/libmpdvdkit2/common.h	Tue Oct 11 12:17:09 2005 +0000
@@ -3,6 +3,9 @@
  * Collection of useful common types and macros definitions
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
+ *
+ * Modified for use with MPlayer, changes contained in libdvdread_changes.diff.
+ * detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
  * $Id$
  *
  * Authors: Samuel Hocevar <sam@via.ecp.fr>
@@ -50,10 +53,9 @@
 #   define PATH_MAX MAX_PATH
 #endif
 
-#define lseek _lseeki64
-
 /* several type definitions */
 #   if defined( __MINGW32__ )
+#define lseek _lseeki64
 #       if !defined( _OFF_T_ )
 typedef long long _off_t;
 typedef _off_t off_t;