1
0
Fork 0
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:
cadmic 2025-01-10 04:03:51 -08:00 committed by GitHub
parent 94971a61b4
commit 8118370f4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 6 additions and 50 deletions

View file

@ -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

View file

@ -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