mirror of
https://github.com/zeldaret/oot
synced 2026-09-03 10:09:27 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user