path: root/src/file_ape.c
diff options
authorChristophe Grenier <>2015-04-11 14:23:16 +0200
committerChristophe Grenier <>2015-04-11 14:23:16 +0200
commit67054372873f2ed5414da7fff1cb5744148289d6 (patch)
treea8cd9501bcfc1e1efec8ca6603e7f11b0ad2ec0c /src/file_ape.c
parentefc94ee87ac3b4e3ecf4fb3ab4adac2ef0a6278f (diff)
add gcc_struct attribute to all __packed__ structure
do not use fseeko() with mingw32 gcc compiler
Diffstat (limited to 'src/file_ape.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ape.c b/src/file_ape.c
index 24b8e3e..d93bcb7 100644
--- a/src/file_ape.c
+++ b/src/file_ape.c
@@ -83,7 +83,7 @@ struct APE_DESCRIPTOR
uint64_t nAPEFrameDataBytes; // the number of bytes of APE frame data
uint32_t nTerminatingDataBytes; // the terminating data of the file (not including tag data)
uint8_t cFileMD5[16]; // the MD5 hash of the file (see notes for usage... it's a littly tricky)
-} __attribute__ ((__packed__));
+} __attribute__ ((gcc_struct, __packed__));
* APE_HEADER structure (describes the format, duration, etc. of the APE file)