[PATCH 4/4] Check for __linux__ instead of linux during compilation

Mateusz JoŇĄczyk mat.jonczyk at o2.pl
Mon Feb 9 14:39:01 PST 2015


W dniu 06.02.2015 o 18:29, Emil Velikov pisze:
> From: Eero Tamminen <eero.t.tamminen at intel.com>
> 
> "__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
> unrecognized.
isn't recognized
> 
> Signed-off-by: Eero Tamminen <eero.t.tamminen at intel.com>
> [Emil Velikov: Remove irrelevant Android details from commit msg.]
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/common_init.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
Greetings,
Mateusz


More information about the xorg-devel mailing list