This is currently copied from http://quickgit.kde.org/index.php?p=scratch%2Fdakon%2Fcmake-cxx11.git but there is a chance that in future it will be merged into CMake proper.
8 lines
115 B
C++
8 lines
115 B
C++
int main(void)
|
|
{
|
|
long long l;
|
|
unsigned long long ul;
|
|
|
|
return ((sizeof(l) >= 8) && (sizeof(ul) >= 8)) ? 0 : 1;
|
|
}
|