dvd_reader.h | dvd_reader.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
/** | /** | |||
* The DVD access interface. | * The DVD access interface. | |||
* | * | |||
* This file contains the functions that form the interface to to | * This file contains the functions that form the interface to to | |||
* reading files located on a DVD. | * reading files located on a DVD. | |||
*/ | */ | |||
/** | /** | |||
* The current version. | * The current version. | |||
*/ | */ | |||
#define DVDREAD_VERSION 50000 | #define DVDREAD_VERSION 50300 | |||
/** | /** | |||
* The length of one Logical Block of a DVD. | * The length of one Logical Block of a DVD. | |||
*/ | */ | |||
#define DVD_VIDEO_LB_LEN 2048 | #define DVD_VIDEO_LB_LEN 2048 | |||
/** | /** | |||
* Maximum length of filenames allowed in UDF. | * Maximum length of filenames allowed in UDF. | |||
*/ | */ | |||
#define MAX_UDF_FILE_NAME_LEN 2048 | #define MAX_UDF_FILE_NAME_LEN 2048 | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ifo_types.h | ifo_types.h | |||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
#include <inttypes.h> | #include <inttypes.h> | |||
#include "dvdread/dvd_reader.h" | #include "dvdread/dvd_reader.h" | |||
#undef ATTRIBUTE_PACKED | #undef ATTRIBUTE_PACKED | |||
#undef PRAGMA_PACK_BEGIN | #undef PRAGMA_PACK_BEGIN | |||
#undef PRAGMA_PACK_END | #undef PRAGMA_PACK_END | |||
#if defined(__GNUC__) | #if defined(__GNUC__) | |||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | |||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | ||||
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) | #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) | |||
#else | ||||
#define ATTRIBUTE_PACKED __attribute__ ((packed)) | ||||
#endif | ||||
#define PRAGMA_PACK 0 | #define PRAGMA_PACK 0 | |||
#endif | #endif | |||
#endif | #endif | |||
#if !defined(ATTRIBUTE_PACKED) | #if !defined(ATTRIBUTE_PACKED) | |||
#define ATTRIBUTE_PACKED | #define ATTRIBUTE_PACKED | |||
#define PRAGMA_PACK 1 | #define PRAGMA_PACK 1 | |||
#endif | #endif | |||
#if PRAGMA_PACK | #if PRAGMA_PACK | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||