[matroska] r828 - in trunk/DvdMenuXtractor/libdvdread: . dvdread
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: robux4 Date: 2004-09-18 23:50:32 +0400 (Sat, 18 Sep 2004) New Revision: 828 Modified: trunk/DvdMenuXtractor/libdvdread/config.h.in trunk/DvdMenuXtractor/libdvdread/dvdread/ifo_print.c Log: fixes for UNIX compilation Modified: trunk/DvdMenuXtractor/libdvdread/config.h.in =================================================================== --- trunk/DvdMenuXtractor/libdvdread/config.h.in 2004-09-18 13:53:12 UTC (rev 827) +++ trunk/DvdMenuXtractor/libdvdread/config.h.in 2004-09-18 19:50:32 UTC (rev 828) @@ -17,6 +17,9 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H + +/* Define to 1 if you have the <stdarg.h> header file. */ +#undef HAVE_STDARG_H /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H @@ -100,3 +103,10 @@ /* Define to `unsigned' if <sys/types.h> does not define. */ #undef size_t + +#define O_BINARY 0 + +#ifndef LOG_ERROR +#define LOG_ERROR internal_error +extern int internal_error(const char*format, ...); +#endif Modified: trunk/DvdMenuXtractor/libdvdread/dvdread/ifo_print.c =================================================================== --- trunk/DvdMenuXtractor/libdvdread/dvdread/ifo_print.c 2004-09-18 13:53:12 UTC (rev 827) +++ trunk/DvdMenuXtractor/libdvdread/dvdread/ifo_print.c 2004-09-18 19:50:32 UTC (rev 828) @@ -25,6 +25,9 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#ifdef HAVE_STDARG_H +#include <stdarg.h> +#endif #include <inttypes.h> #include <string.h> #include <ctype.h>