Project

General

Profile

Bug #916

clang define __gnu_linux__ macro for Android

Added by Dmitry Moskalchuk about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/29/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
clang-3.4, clang-3.5
Android version:
CrystaX Version:

Description

This is OK to define @linux@ macro, since Android is Linux (kernel), but it definitely not GNU/Linux, so definition of @gnu_linux@ is wrong. BTW, gcc define only @linux@ macro and don't define @gnu_linux@ for Android target.

Also available in: Atom PDF