[ox] Replace __attribute__((packed)) with OX_PACKED

This commit is contained in:
2019-12-19 23:38:17 -06:00
parent 1499f42361
commit 8c576ef9c5
8 changed files with 20 additions and 11 deletions

View File

@ -16,10 +16,10 @@
namespace ox {
template<typename InodeId_t>
struct __attribute__((packed)) DirectoryEntry {
struct OX_PACKED DirectoryEntry {
public:
struct __attribute__((packed)) DirectoryEntryData {
struct OX_PACKED DirectoryEntryData {
// DirectoryEntry fields
LittleEndian<InodeId_t> inode = 0;
char name[MaxFileNameLength];