summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-30 06:30:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-30 06:30:56 +0000
commit120a1e9d0fc2f1625482df789c47b979b3f2a73f (patch)
treea2e7720d58bba069ef0586e80c88184280db8e26 /clang/test/Preprocessor/init.c
parent540e8b1dcdbf9090588f133341a9334ae440d726 (diff)
downloadbcm5719-llvm-120a1e9d0fc2f1625482df789c47b979b3f2a73f.tar.gz
bcm5719-llvm-120a1e9d0fc2f1625482df789c47b979b3f2a73f.zip
Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always
'long'. The practical upshot is so that the uint64_t we define in our stdint.h ends up being compatible with that defined by gcc (at least on Darwin), which otherwise could lead to type incompatibilities with other system headers. llvm-svn: 107255
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index 8a3e89e49a6..8283671b663 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/test/Preprocessor/init.c
@@ -838,7 +838,7 @@
// S390X:#define __INT16_TYPE__ short
// S390X:#define __INT32_TYPE__ int
// S390X:#define __INT64_C_SUFFIX__ L
-// S390X:#define __INT64_TYPE__ long int
+// S390X:#define __INT64_TYPE__ long long int
// S390X:#define __INT8_TYPE__ char
// S390X:#define __INTMAX_MAX__ 9223372036854775807LL
// S390X:#define __INTMAX_TYPE__ long long int
OpenPOWER on IntegriCloud