Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
db83de9e
Commit
db83de9e
authored
Jan 22, 2020
by
Simon Spannagel
Browse files
Only define __FILE_NAME__ if not defined yet
parent
a0d3ebac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/utils/log.h
View file @
db83de9e
...
...
@@ -231,7 +231,9 @@ namespace corryvreckan {
/**
* @brief Base name of the file without the directory
*/
#ifndef __FILE_NAME__
#define __FILE_NAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
#endif
/**
* @brief Execute a block only if the reporting level is high enough
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment