Enable override for host compiler

Former-commit-id: b30f6910b7
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-08 16:10:44 +02:00
parent 864a83a0c6
commit d6a754e555
2 changed files with 5 additions and 1 deletions

View File

@@ -71,11 +71,15 @@ typedef int BOOL;
#ifndef final
#define final
#endif
#if defined(__MWERKS__)
#ifndef override
#define override
#endif
#endif
#endif
#ifndef ATTRIBUTE_ALIGN
#if defined(__MWERKS__) || defined(__GNUC__)
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))