mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 21:10:46 +08:00
engine: NORETURN macro disabled for PSP
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user