[ox] Replace __attribute__((packed)) with OX_PACKED
This commit is contained in:
4
deps/ox/src/ox/fs/filesystem/directory.hpp
vendored
4
deps/ox/src/ox/fs/filesystem/directory.hpp
vendored
@ -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];
|
||||
|
Reference in New Issue
Block a user