]> granicus.if.org Git - clang/commit
Headers: Define __INT64_TYPE__ in terms of getInt64Type(), which isn't always
authorDaniel Dunbar <daniel@zuster.org>
Wed, 30 Jun 2010 06:30:56 +0000 (06:30 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 30 Jun 2010 06:30:56 +0000 (06:30 +0000)
commit7f3a545ba6ccfbe8b7f5268e4cfbee52ec2c4d4c
tree77d2a73f0f2c7221faf1dae7946942553f3e8baa
parent96d38c100d5a37f7a3343c526507de5b50f68c27
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp
test/Headers/int64-type.c [new file with mode: 0644]
test/Preprocessor/init.c
test/Preprocessor/stdint.c