mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
__FUNCTION__ is gcc extension, use __func__ now. Fixes issue #288
This commit is contained in:
parent
e4c7fe8f1e
commit
dbd7476054
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ void rofi_timings_tick ( char const *str, int line, char const *msg );
|
|||
void rofi_timings_quit ( void );
|
||||
|
||||
#define TIMINGS_START() rofi_timings_init ()
|
||||
#define TICK() rofi_timings_tick ( __FUNCTION__, __LINE__, "" )
|
||||
#define TICK_N( a ) rofi_timings_tick ( __FUNCTION__, __LINE__, a )
|
||||
#define TICK() rofi_timings_tick ( __func__, __LINE__, "" )
|
||||
#define TICK_N( a ) rofi_timings_tick ( __func__, __LINE__, a )
|
||||
#define TIMINGS_STOP() rofi_timings_quit ()
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue