mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-09 12:37:18 -04:00
d_msg_scrn_3select done (#2153)
* msg_scrn_3select done * remove asm * d_msg_scrn_jimaku done
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef STD_CMATH_H_
|
||||
#define STD_CMATH_H_
|
||||
|
||||
#include "string.h"
|
||||
|
||||
namespace std {
|
||||
inline size_t strlen(const char* str) {
|
||||
return ::strlen(str);
|
||||
}
|
||||
|
||||
inline char* strcpy(char* dest, const char* src) {
|
||||
return ::strcpy(dest, src);
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
#endif
|
||||
@@ -4,9 +4,6 @@
|
||||
#include "stddef.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
// TODO: std namespace should be used for C++, but it breaks asm compatibility afaict.
|
||||
// try to fix later
|
||||
// namespace std {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -26,7 +23,6 @@ char* strcpy(char* dst, const char* src);
|
||||
size_t strlen(const char* str);
|
||||
|
||||
#ifdef __cplusplus
|
||||
// }
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user