NaCl SDK: Have hello world example to check for __pnacl__ instead of __CLANG__.
Alternatively, we could check for __clang__, but there isn't a __CLANG__. BUG=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12545030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187959 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
#include "ppapi/c/ppp_messaging.h"
|
||||
|
||||
#if defined(__native_client__)
|
||||
#if defined(__CLANG__)
|
||||
#if defined(__pnacl__)
|
||||
#define TCNAME "pnacl"
|
||||
#elif defined(__GLIBC__)
|
||||
#define TCNAME "glibc"
|
||||
|
Reference in New Issue
Block a user