aboutsummaryrefslogtreecommitdiffstats
path: root/o3000_portable.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-03-24Rename custom __packed__ attribute to __o3000_packed__macOSNao Pross1-2/+6
Note: It is generally a bad idea to create identifier that start with an underscore [1]. In macOS the identifier __packed__ is already defined, because the packed attribute is written as __attribute__ ((__packed__)), which causes the code to fail to compile. To solve the problem this commit replaces __packed__ with __o3000_packed__. [1]: https://en.cppreference.com/w/c/language/identifier#Reserved_identifiers