mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +03:00
Silence Wstring-plus-int warning when using clangd with GCC.
This commit is contained in:
parent
4bd859be95
commit
f455f8633e
@ -74,7 +74,7 @@ int log_get_max_level_realm(LogRealm realm) _pure_;
|
||||
*/
|
||||
|
||||
assert_cc(STRLEN(__FILE__) > STRLEN(RELATIVE_SOURCE_PATH) + 1);
|
||||
#define PROJECT_FILE (__FILE__ + STRLEN(RELATIVE_SOURCE_PATH) + 1)
|
||||
#define PROJECT_FILE (&__FILE__[STRLEN(RELATIVE_SOURCE_PATH) + 1])
|
||||
|
||||
int log_open(void);
|
||||
void log_close(void);
|
||||
|
Loading…
Reference in New Issue
Block a user