Mercurial > libdvdread4.hg
comparison dvdread_internal.h @ 41:ef679522d00f src
replaced conditional checks on MSC with _WIN32 to permit MINGW to mount and decrypt images; patch by John Stebbins (stebbing jetheaddev com)
author | nicodvb |
---|---|
date | Tue, 04 Aug 2009 21:21:49 +0000 |
parents | 98951f8ec89c |
children | 3bc841283972 |
comparison
equal
deleted
inserted
replaced
40:ce7056d60f01 | 41:ef679522d00f |
---|---|
17 */ | 17 */ |
18 | 18 |
19 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H | 19 #ifndef LIBDVDREAD_DVDREAD_INTERNAL_H |
20 #define LIBDVDREAD_DVDREAD_INTERNAL_H | 20 #define LIBDVDREAD_DVDREAD_INTERNAL_H |
21 | 21 |
22 #ifdef _MSC_VER | 22 #ifdef _WIN32 |
23 #include <unistd.h> | 23 #include <unistd.h> |
24 #endif /* _MSC_VER */ | 24 #endif /* _WIN32 */ |
25 | 25 |
26 #define CHECK_VALUE(arg) \ | 26 #define CHECK_VALUE(arg) \ |
27 if(!(arg)) { \ | 27 if(!(arg)) { \ |
28 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \ | 28 fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \ |
29 "\n*** for %s ***\n\n", \ | 29 "\n*** for %s ***\n\n", \ |