diff options
Diffstat (limited to 'src/xine-utils/compat.h')
-rw-r--r-- | src/xine-utils/compat.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/xine-utils/compat.h b/src/xine-utils/compat.h index 1eac305b7..c18e8b442 100644 --- a/src/xine-utils/compat.h +++ b/src/xine-utils/compat.h @@ -17,13 +17,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: compat.h,v 1.1 2001/11/30 00:53:51 f1rmb Exp $ + * $Id: compat.h,v 1.2 2001/12/14 21:03:03 f1rmb Exp $ * */ #ifndef XINE_COMPAT_H #define XINE_COMPAT_H +#include <limits.h> + #ifdef __cplusplus extern "C" { #endif @@ -34,6 +36,18 @@ extern "C" { #define __XINE_FUNCTION__ __FUNCTION__ #endif +#ifndef NAME_MAX +#define XINE_NAME_MAX 256 +#else +#define XINE_NAME_MAX NAME_MAX +#endif + +#ifndef PATH_MAX +#define XINE_PATH_MAX 768 +#else +#define XINE_PATH_MAX PATH_MAX +#endif + #ifdef __cplusplus } |