Project

General

Profile

Actions

Bug #916

closed

clang define __gnu_linux__ macro for Android

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

Status:
Completed
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