Author: nicodvb Date: Fri Jul 25 08:25:27 2008 New Revision: 1120 Log: removed duplicated #pragma directives and definitions; patch by Erik Hovland
Modified: trunk/libdvdread/src/nav_types.h Modified: trunk/libdvdread/src/nav_types.h ============================================================================== --- trunk/libdvdread/src/nav_types.h (original) +++ trunk/libdvdread/src/nav_types.h Fri Jul 25 08:25:27 2008 @@ -32,24 +32,6 @@ #include <inttypes.h> #include "ifo_types.h" /* only dvd_time_t, vm_cmd_t and user_ops_t */ - -#undef ATTRIBUTE_PACKED -#undef PRAGMA_PACK_BEGIN -#undef PRAGMA_PACK_END - -#if defined(__GNUC__) -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) -#define ATTRIBUTE_PACKED __attribute__ ((packed)) -#define PRAGMA_PACK 0 -#endif -#endif - -#if !defined(ATTRIBUTE_PACKED) -#define ATTRIBUTE_PACKED -#define PRAGMA_PACK 1 -#endif - - /* The length including the substream id byte. */ #define PCI_BYTES 0x3d4 #define DSI_BYTES 0x3fa @@ -60,12 +42,6 @@ /* Remove this */ #define DSI_START_BYTE 1031 - -#if PRAGMA_PACK -#pragma pack(1) -#endif - - /** * PCI General Information */ _______________________________________________ DVDnav-discuss mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
