mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 07:46:01 +00:00
3670a48aee
* Some GCC flags improvements * Move -fno-reorder-blocks -fno-zero-initialized-in-bss to assets only * Add -fno-PIC since some gcc versions use -fPIC as default * Enable builtin functions on gcc, with appropriate changes to missing_gcc_functions.c and ultra64/libc.h * Move -fno-merge-constants -mno-explicit-relocs -mno-split-addresses to overlays only as they are only needed there for reloc reasons * Remove unneeded casts in missing_gcc_functions.c * Change gcc assets flags handling
18 lines
456 B
C
18 lines
456 B
C
#ifndef ULTRA64_LIBC_H
|
|
#define ULTRA64_LIBC_H
|
|
|
|
#include "stddef.h"
|
|
|
|
void osSyncPrintf(const char* fmt, ...);
|
|
|
|
#ifdef __GNUC__
|
|
void bzero(void* __s, unsigned int __n);
|
|
int bcmp(const void* __sl, const void* __s2, unsigned int __n);
|
|
void bcopy(const void* __src, void* __dest, unsigned int __n);
|
|
#else
|
|
void bzero(void* __s, int __n);
|
|
int bcmp(const void* __sl, const void* __s2, int __n);
|
|
void bcopy(const void* __src, void* __dest, int __n);
|
|
#endif
|
|
|
|
#endif
|