mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Fix undefined _linux macro typo to __linux__
This commit is contained in:
parent
2f08a64c13
commit
e2afc6d97b
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;
|
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);
|
i = tommy_list_head(&state->contentlist);
|
||||||
while (i) {
|
while (i) {
|
||||||
struct snapraid_content* content = i->data;
|
struct snapraid_content* content = i->data;
|
||||||
|
|
|
||||||
|
|
@ -1849,7 +1849,7 @@ void os_abort(void)
|
||||||
const char* platform;
|
const char* platform;
|
||||||
const char* compiler;
|
const char* compiler;
|
||||||
|
|
||||||
#ifdef _linux
|
#ifdef __linux__
|
||||||
platform = ", linux";
|
platform = ", linux";
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
platform = ", macOS";
|
platform = ", macOS";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue