Mercurial > hg > dmlib
comparison src/dmpack.h @ 2320:0115b3dd9064
Remove __packed__ attribute from DMPackFile as it is not really needed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Sep 2019 10:40:03 +0300 |
parents | d674ddc0fc82 |
children | c1cae47cd410 |
comparison
equal
deleted
inserted
replaced
2319:5b4071a74289 | 2320:0115b3dd9064 |
---|---|
32 char * filename; // Filename & path | 32 char * filename; // Filename & path |
33 FILE * file; // File | 33 FILE * file; // File |
34 } DMPackFile; | 34 } DMPackFile; |
35 | 35 |
36 | 36 |
37 typedef struct __attribute__((__packed__)) | 37 typedef struct |
38 { | 38 { |
39 char ident[8]; // Magic identifier | 39 char ident[8]; // Magic identifier |
40 Uint16 version; // Version | 40 Uint16 version; // Version |
41 Uint32 dirEntries; // Number of entries | 41 Uint32 dirEntries; // Number of entries |
42 Uint64 dirOffset; // Offset of the directory | 42 Uint64 dirOffset; // Offset of the directory |