Fix undefined _linux macro typo to __linux__

This commit is contained in:
Andrea Mazzoleni 2026-08-17 10:00:11 +02:00
parent 2f08a64c13
commit e2afc6d97b
2 changed files with 2 additions and 2 deletions

View file

@ -4857,7 +4857,7 @@ static void state_rename_content(struct snapraid_state* state)
{
tommy_node* i;
#if defined(_linux) /* this sequence is linux specific */
#if defined(__linux__) /* this sequence is linux specific */
i = tommy_list_head(&state->contentlist);
while (i) {
struct snapraid_content* content = i->data;

View file

@ -1849,7 +1849,7 @@ void os_abort(void)
const char* platform;
const char* compiler;
#ifdef _linux
#ifdef __linux__
platform = ", linux";
#elif defined(__APPLE__)
platform = ", macOS";