mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-14 19:10:25 +00:00
Only build .o files listed in the spec (#2410)
* Only build .o files listed in the spec * Remove useless CPP guards
This commit is contained in:
parent
94971a61b4
commit
8118370f4e
8 changed files with 6 additions and 50 deletions
|
@ -3,8 +3,6 @@
|
|||
#include "libc64/os_malloc.h"
|
||||
#include "terminal.h"
|
||||
|
||||
#if !PLATFORM_N64
|
||||
|
||||
#define FILL_ALLOC_BLOCK_FLAG (1 << 0)
|
||||
#define FILL_FREE_BLOCK_FLAG (1 << 1)
|
||||
#define CHECK_FREE_BLOCK_FLAG (1 << 2)
|
||||
|
@ -891,5 +889,3 @@ u8 ArenaImpl_GetAllocFailures(Arena* arena) {
|
|||
return arena->allocFailures;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#include "fault.h"
|
||||
#include "libc64/os_malloc.h"
|
||||
|
||||
#if PLATFORM_N64
|
||||
|
||||
#define NODE_MAGIC 0x7373
|
||||
|
||||
#define NODE_IS_VALID(node) ((node)->magic == NODE_MAGIC)
|
||||
|
@ -470,5 +468,3 @@ s32 __osCheckArena(Arena* arena) {
|
|||
u8 ArenaImpl_GetAllocFailures(Arena* arena) {
|
||||
return arena->allocFailures;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue