From: Lawrence S. <ljs...@us...> - 2020-02-11 13:27:02
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 2b7068ff7221300a23d147d05893bcf4623be03a (commit) from cbf93f3411e39826a58bb33632a6663ef005d152 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2b7068ff7221300a23d147d05893bcf4623be03a Author: Lawrence Sebald <ljs...@us...> Date: Tue Feb 11 08:26:41 2020 -0500 Fix init.c for GCC 4.x again. ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/kernel/init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/arch/dreamcast/kernel/init.c b/kernel/arch/dreamcast/kernel/init.c index 719913c..36392b9 100644 --- a/kernel/arch/dreamcast/kernel/init.c +++ b/kernel/arch/dreamcast/kernel/init.c @@ -24,17 +24,17 @@ extern int _bss_start, end; void _atexit_call_all(); +#if __GNUC__ == 4 +#define _init init +#define _fini fini +#endif + #if __GNUC__ >= 4 void _init(void); void _fini(void); void __verify_newlib_patch(); #endif -#if __GNUC__ == 4 -#define _init init -#define _fini fini -#endif - int main(int argc, char **argv); uint32 _fs_dclsocket_get_ip(void); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |