summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testSystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-27 12:33:39 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-27 12:33:39 (GMT)
commit9c161cc2d0fcfe933e4f55d9c9e06fa80a3e30c4 (patch)
tree948092a8efea4b1c196f00da2a54310c32de6856 /Source/kwsys/testSystemInformation.cxx
parent08f1ee1f5321f5eabfec7b0ce9f565e58cd590be (diff)
parentc47501bcca7c5d47aa22478071a16fae5cef9c63 (diff)
downloadCMake-9c161cc2d0fcfe933e4f55d9c9e06fa80a3e30c4.zip
CMake-9c161cc2d0fcfe933e4f55d9c9e06fa80a3e30c4.tar.gz
CMake-9c161cc2d0fcfe933e4f55d9c9e06fa80a3e30c4.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-05-27 (a3263389)
Diffstat (limited to 'Source/kwsys/testSystemInformation.cxx')
-rw-r--r--Source/kwsys/testSystemInformation.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/Source/kwsys/testSystemInformation.cxx b/Source/kwsys/testSystemInformation.cxx
index 154517e..4f0c522 100644
--- a/Source/kwsys/testSystemInformation.cxx
+++ b/Source/kwsys/testSystemInformation.cxx
@@ -11,29 +11,13 @@
#include <iostream>
-#if defined(KWSYS_USE_LONG_LONG)
-# if defined(KWSYS_IOS_HAS_OSTREAM_LONG_LONG)
-# define iostreamLongLong(x) (x)
-# else
-# define iostreamLongLong(x) ((long)x)
-# endif
-#elif defined(KWSYS_USE___INT64)
-# if defined(KWSYS_IOS_HAS_OSTREAM___INT64)
-# define iostreamLongLong(x) (x)
-# else
-# define iostreamLongLong(x) ((long)x)
-# endif
-#else
-# error "No Long Long"
-#endif
-
#define printMethod(info, m) std::cout << #m << ": " << info.m() << "\n"
#define printMethod2(info, m, unit) \
std::cout << #m << ": " << info.m() << " " << unit << "\n"
#define printMethod3(info, m, unit) \
- std::cout << #m << ": " << iostreamLongLong(info.m) << " " << unit << "\n"
+ std::cout << #m << ": " << info.m << " " << unit << "\n"
int testSystemInformation(int, char* [])
{