shithub: libdvdcss

Download patch

ref: e5ad296c482b5709673718cdadf75f36f7ce3fa3
parent: 459106fb9464578122e4e116f5f14ee845a8e445
author: Christophe Massiot <massiot@videolan.org>
date: Tue Feb 4 06:54:36 EST 2003

Fixed compilation problems with PATH_MAX.


--- a/src/css.c
+++ b/src/css.c
@@ -2,7 +2,7 @@
  * css.c: Functions for DVD authentication and descrambling
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: css.c,v 1.23 2002/12/19 15:44:30 sam Exp $
+ * $Id: css.c,v 1.24 2003/02/04 11:54:36 massiot Exp $
  *
  * Author: St�phane Borel <stef@via.ecp.fr>
  *         H�kan Hjort <d95hjort@dtek.chalmers.se>
@@ -48,7 +48,7 @@
 #endif
 #include <fcntl.h>
 
-#ifdef __MINGW_H
+#ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #endif
 
--- a/src/device.c
+++ b/src/device.c
@@ -2,7 +2,7 @@
  * device.h: DVD device access
  *****************************************************************************
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: device.c,v 1.14 2002/12/19 16:50:50 sam Exp $
+ * $Id: device.c,v 1.15 2003/02/04 11:54:36 massiot Exp $
  *
  * Authors: St�phane Borel <stef@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -42,7 +42,7 @@
 #   include <unistd.h>
 #endif
 
-#ifdef __MINGW_H
+#ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #endif
 
--- a/src/error.c
+++ b/src/error.c
@@ -2,7 +2,7 @@
  * error.c: error management functions
  *****************************************************************************
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: error.c,v 1.5 2002/12/06 00:16:57 babal Exp $
+ * $Id: error.c,v 1.6 2003/02/04 11:54:36 massiot Exp $
  *
  * Author: Samuel Hocevar <sam@zoy.org>
  *
@@ -28,7 +28,7 @@
 #   include <sys/param.h>
 #endif
 
-#ifdef __MINGW_H
+#ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #endif