port: make it link and load

nothing happens after loading though
This commit is contained in:
fgsfds committed 2023-07-29 23:21:35 +02:00
1 parent c55f9c805c
commit da94644c38
68 files changed
+8291 -163

No files matched your search

+14 -3
View File
@@ -1,5 +1,8 @@
#ifndef __STRING_H__
#define __STRING_H__
#ifndef __N64_STRING_H__
#define __N64_STRING_H__
#ifdef PLATFORM_N64
#ifdef __cplusplus
extern "C" {
#endif
@@ -52,4 +55,12 @@ extern size_t strlen(const char *);
#ifdef __cplusplus
}
#endif
#endif /* !__STRING_H__ */
#else
#include_next <string.h>
#undef errno // fuck off
#endif
#endif /* !__N64_STRING_H__ */