[cfe-commits] [PATCH]PNaClTargetInfo: add __ELF__, _REENTRANT and _GNU_SOURCE defines and update the test.

Ivan Krasin krasin at chromium.org
Thu Aug 25 16:16:03 PDT 2011


Hi Clang team!

This patch adds few missing defines to PNaClTargetInfo to make clang++
work correctly on #include <stdio.h> and similar cases. I've updated
that test to check that these defines are there and that it can
#include <stdio.h>
The patch is attached and is also available online:
http://codereview.chromium.org/7748035/

Please, let me know if it's fine to commit.

Ivan Krasin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pnacl_defines_2.diff
Type: text/x-patch
Size: 1290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110825/bfa34818/attachment.bin>


More information about the cfe-commits mailing list