1
0
Fork 0
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:
Dave Davenport 2015-12-02 18:11:23 +01:00
parent e4c7fe8f1e
commit dbd7476054

View file

@ -8,8 +8,8 @@ void rofi_timings_tick ( char const *str, int line, char const *msg );
void rofi_timings_quit ( void ); void rofi_timings_quit ( void );
#define TIMINGS_START() rofi_timings_init () #define TIMINGS_START() rofi_timings_init ()
#define TICK() rofi_timings_tick ( __FUNCTION__, __LINE__, "" ) #define TICK() rofi_timings_tick ( __func__, __LINE__, "" )
#define TICK_N( a ) rofi_timings_tick ( __FUNCTION__, __LINE__, a ) #define TICK_N( a ) rofi_timings_tick ( __func__, __LINE__, a )
#define TIMINGS_STOP() rofi_timings_quit () #define TIMINGS_STOP() rofi_timings_quit ()
#else #else