Commit 2b749749 authored by Brad King's avatar Brad King
Browse files

Drop unused C type macros check

The `KWSYS_C_TYPE_MACROS` check has not been used since commit c1149ef6
(Drop the FundamentalType.h component of KWSys, 2015-12-14).
parent 441dd494
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment