mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +00:00
Create macro for defining and empty/dummy __psp_libc_init function
This commit is contained in:
@@ -144,4 +144,8 @@ enum PspModuleInfoAttr
|
|||||||
/* Declare the name of the main thread */
|
/* Declare the name of the main thread */
|
||||||
#define PSP_MAIN_THREAD_NAME(s) const char* sce_newlib_main_thread_name = (s)
|
#define PSP_MAIN_THREAD_NAME(s) const char* sce_newlib_main_thread_name = (s)
|
||||||
|
|
||||||
|
/* Disable the use of newlib, getting a minimal binary. */
|
||||||
|
#define PSP_DISABLE_NEWLIB() \
|
||||||
|
void __psp_libc_init(int argc, char *argv[]) {}
|
||||||
|
|
||||||
#endif /* PSPMODULEINFO_H */
|
#endif /* PSPMODULEINFO_H */
|
||||||
|
Reference in New Issue
Block a user