comparison libdvdread/dvdread_internal.h @ 367:1274107d0eac src

moved dvdread to libdvdread; it's the first step for the separation of the lib from dvdnav
author nicodvb
date Sat, 31 May 2008 12:29:19 +0000
parents dvdread/dvdread_internal.h@9b1b740e3fc9
children
comparison
equal deleted inserted replaced
366:5b8539cacebf 367:1274107d0eac
1 #ifndef DVDREAD_INTERNAL_H
2 #define DVDREAD_INTERNAL_H
3
4 #ifdef _MSC_VER
5 #include <unistd.h>
6 #endif /* _MSC_VER */
7
8 #define CHECK_VALUE(arg) \
9 if(!(arg)) { \
10 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
11 "\n*** for %s ***\n\n", \
12 __FILE__, __LINE__, # arg ); \
13 }
14
15 #endif /* DVDREAD_INTERNAL_H */