shithub: libdvdcss

Download patch

ref: 459106fb9464578122e4e116f5f14ee845a8e445
parent: 6bb02c1025f263d353df1c23e16ecf980e9cbcc0
author: Christophe Massiot <[email protected]>
date: Wed Jan 29 17:59:35 EST 2003

Fixed MAX_PATH on Darwin.


--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@
 AC_C_INLINE
 AC_TYPE_SIZE_T
 
-AC_CHECK_HEADERS(unistd.h sys/param.h)
+AC_CHECK_HEADERS(unistd.h sys/param.h limits.h)
 
 dnl
 dnl  Check the operating system
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -5,7 +5,7 @@
  *          H�kan Hjort <[email protected]>
  *
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: libdvdcss.c,v 1.28 2003/01/28 00:41:10 sam Exp $
+ * $Id: libdvdcss.c,v 1.29 2003/01/29 22:59:35 massiot Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -110,7 +110,7 @@
 #   include <unistd.h>
 #endif
 
-#ifdef __MINGW_H
+#ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #endif