osx build

This commit is contained in:
Catherine Reprobate committed 2024-11-17 10:51:45 -08:00
1 parent 06dcbcc1b1
commit cea20b6f31
4 files changed
+17

No files matched your search

+8
View File
@@ -31,10 +31,14 @@
#define _OS_LIBC_H_
#include "os_pfs.h"
#include "platform.h"
#ifndef PLATFORM_N64
#include <stdio.h>
#endif
#ifdef PLATFORM_OSX
#include <strings.h>
#endif
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -84,9 +88,13 @@ extern "C" {
/* byte string operations */
#ifndef PLATFORM_OSX
extern void bcopy(const void *, void *, size_t);
#endif
extern int bcmp(const void *, const void *, size_t);
#ifndef PLATFORM_OSX
extern void bzero(void *, size_t);
#endif
/* Printf */