Check for __linux__ instead of linux during compilation
"__linux__" is the POSIX define for checking for Linux OS, "linux" is
deprecated and apparently not supported by Android.
Besides correcting the define, patch adds error for the case OS isn't
Signed-off-by: Eero Tamminen <firstname.lastname@example.org>
v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk.
[Emil Velikov: Remove irrelevant Android details from commit msg.]
Signed-off-by: Emil Velikov <email@example.com>
Reviewed-by: Jasper St. Pierre <firstname.lastname@example.org>
Signed-off-by: Alan Coopersmith <email@example.com>
1 file changed