Project

General

Profile

Actions

Bug #916

closed

clang define __gnu_linux__ macro for Android

Added by Dmitry M. about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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 NDK 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.

Actions

Also available in: Atom PDF