mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix undefined _linux macro typo to __linux__
This commit is contained in:
parent
abea8c56d9
commit
5151d59208
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue