forked from Ports/perfect_dark
port: make it link and load
nothing happens after loading though
This commit is contained in:
1 parent
c55f9c805c
commit
da94644c38
68 files changed
+8291
-163
No files matched your search
+14
-3
@@ -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__ */
|
||||
Reference in new issue
Block a user