summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>2016-04-04 22:56:05 +0000
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>2016-04-04 22:56:05 +0000
commit0e15a77d40d56489cc317e618658cbefbb4d6902 (patch)
tree4388b66b7226da268bccc1b274ebf89a6528f832 /clang/test/Preprocessor/init.c
parentbb8c665320504f35bf483f5503e5351c262444d3 (diff)
downloadbcm5719-llvm-0e15a77d40d56489cc317e618658cbefbb4d6902.tar.gz
bcm5719-llvm-0e15a77d40d56489cc317e618658cbefbb4d6902.zip
Set the default C standard to C99 when targeting the PS4.
Patch by Douglas Yung! Differential Revision: http://reviews.llvm.org/D18708 llvm-svn: 265359
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index dbd4de605e5..5f3284710a6 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -8358,6 +8358,7 @@
// PS4:#define __SSE2__ 1
// PS4:#define __SSE_MATH__ 1
// PS4:#define __SSE__ 1
+// PS4:#define __STDC_VERSION__ 199901L
// PS4:#define __UINTMAX_TYPE__ long unsigned int
// PS4:#define __USER_LABEL_PREFIX__
// PS4:#define __WCHAR_MAX__ 65535
OpenPOWER on IntegriCloud