Skip to content

Commit

Permalink
fix: suppress build errors on gcc 13
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong <[email protected]>
  • Loading branch information
daeyeon authored and hs0225 committed Jul 13, 2023
1 parent 2ded3b3 commit 44904c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/utils/logger/logger-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

#include <string>

#ifndef __FILE_NAME__
#define __FILE_NAME__ \
(strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
#endif

#define __FUNCTION_NAME__ getPrettyFunctionName(__PRETTY_FUNCTION__)

Expand Down

0 comments on commit 44904c4

Please sign in to comment.