annotate dvdread_internal.h @ 23:ac07d427fbc6
src
Use consistent multiple inclusion guards everywhere:
Combine them from a LIBDVDREAD_ prefix and the filename.
author |
diego |
date |
Sun, 14 Sep 2008 20:37:38 +0000 |
parents |
fdbae45c30fc |
children |
17258a7b3239 |
rev |
line source |
23
|
1 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H
|
|
2 #define LIBDVDREAD_DVDREAD_INTERNAL_H
|
3
|
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
|
23
|
15 #endif /* LIBDVDREAD_DVDREAD_INTERNAL_H */
|