diff --git a/src/user/pspmoduleinfo.h b/src/user/pspmoduleinfo.h index 5d72837e..4cce1d3d 100644 --- a/src/user/pspmoduleinfo.h +++ b/src/user/pspmoduleinfo.h @@ -144,4 +144,8 @@ enum PspModuleInfoAttr /* Declare the name of the main thread */ #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 */