engine: NORETURN macro disabled for PSP

This commit is contained in:
Crow-bar
2022-06-10 13:32:03 +03:00
parent db9e82cdec
commit cbfb43f05b
3 changed files with 4 additions and 8 deletions

View File

@@ -709,11 +709,7 @@ dlight_t *CL_GetEntityLight( int number );
//
// cl_cmds.c
//
#if XASH_PSP
void CL_Quit_f( void );
#else
void CL_Quit_f( void ) NORETURN;
#endif
void CL_ScreenShot_f( void );
void CL_SnapShot_f( void );
void CL_PlayCDTrack_f( void );

View File

@@ -68,11 +68,7 @@ void Sys_Print( const char *pMsg );
void Sys_PrintLog( const char *pMsg );
void Sys_InitLog( void );
void Sys_CloseLog( void );
#if XASH_PSP
void Sys_Quit( void );
#else
void Sys_Quit( void ) NORETURN;
#endif
//
// sys_con.c

View File

@@ -21,7 +21,11 @@ GNU General Public License for more details.
#ifdef __GNUC__
#define _format(x) __attribute__((format(printf, x, x+1)))
#if XASH_PSP
#define NORETURN
#else
#define NORETURN __attribute__((noreturn))
#endif
#else
#define _format(x)
#define NORETURN