summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/kwsysPlatformTestsC.c
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/kwsysPlatformTestsC.c
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/kwsysPlatformTestsC.c')
-rw-r--r--Source/kwsys/kwsysPlatformTestsC.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/Source/kwsys/kwsysPlatformTestsC.c b/Source/kwsys/kwsysPlatformTestsC.c
index b0cf7ad..d44f7eb 100644
--- a/Source/kwsys/kwsysPlatformTestsC.c
+++ b/Source/kwsys/kwsysPlatformTestsC.c
@@ -69,40 +69,3 @@ int KWSYS_PLATFORM_TEST_C_MAIN()
return clock_gettime(CLOCK_MONOTONIC, &ts);
}
#endif
-
-#ifdef TEST_KWSYS_C_TYPE_MACROS
-char* info_macros =
-# if defined(__SIZEOF_SHORT__)
- "INFO:macro[__SIZEOF_SHORT__]\n"
-# endif
-# if defined(__SIZEOF_INT__)
- "INFO:macro[__SIZEOF_INT__]\n"
-# endif
-# if defined(__SIZEOF_LONG__)
- "INFO:macro[__SIZEOF_LONG__]\n"
-# endif
-# if defined(__SIZEOF_LONG_LONG__)
- "INFO:macro[__SIZEOF_LONG_LONG__]\n"
-# endif
-# if defined(__SHORT_MAX__)
- "INFO:macro[__SHORT_MAX__]\n"
-# endif
-# if defined(__INT_MAX__)
- "INFO:macro[__INT_MAX__]\n"
-# endif
-# if defined(__LONG_MAX__)
- "INFO:macro[__LONG_MAX__]\n"
-# endif
-# if defined(__LONG_LONG_MAX__)
- "INFO:macro[__LONG_LONG_MAX__]\n"
-# endif
- "";
-
-int KWSYS_PLATFORM_TEST_C_MAIN_ARGS(argc, argv)
-{
- int require = 0;
- require += info_macros[argc];
- (void)argv;
- return require;
-}
-#endif