Skip to content

Commit

Permalink
Update mp3guessenc tags.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ehendrikd committed Oct 3, 2019
1 parent 4084bfd commit f968418
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/mp3guessenc-0.27.4/tags.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ typedef struct mmtag_tail_infos_t {
unsigned char footer[MMTAG_FOOTER_SIZE];
} mmtag_tail_infos_t;

//#if defined(__WATCOMC__)
#if defined(__WATCOMC__) || defined(__WINDOWS__)
/* Watcom compiler defaults alignment to 1 byte */
typedef struct mmtag_partial_infos_t {
//#else
//typedef struct __attribute__((packed)) mmtag_partial_infos_t {
//#endif
#else
typedef struct __attribute__((packed)) mmtag_partial_infos_t {
#endif
unsigned char empty[12];
unsigned char sync[MMTAG_VERSION_BLOCK_SUBSECTION_LENGTH];
unsigned char xing[MMTAG_VERSION_BLOCK_SUBSECTION_LENGTH];
Expand Down

0 comments on commit f968418

Please sign in to comment.