diff options
author | Brad King <brad.king@kitware.com> | 2020-06-03 10:43:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-03 11:48:52 (GMT) |
commit | f408cc2c40f0ea853875611417ad499a382515ea (patch) | |
tree | 6414c7bfe2d7a4880d8664c49a68e99c4ffa9a73 /Utilities | |
parent | 6c4f3dcd7bd02ed74e2daa323bb0c4bed62cd671 (diff) | |
download | CMake-f408cc2c40f0ea853875611417ad499a382515ea.zip CMake-f408cc2c40f0ea853875611417ad499a382515ea.tar.gz CMake-f408cc2c40f0ea853875611417ad499a382515ea.tar.bz2 |
expat: Remove unused try_compile checks
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmexpat/ConfigureChecks.cmake | 11 | ||||
-rw-r--r-- | Utilities/cmexpat/expat_config.h.cmake | 6 |
2 files changed, 0 insertions, 17 deletions
diff --git a/Utilities/cmexpat/ConfigureChecks.cmake b/Utilities/cmexpat/ConfigureChecks.cmake index d85e48c..4da252c 100644 --- a/Utilities/cmexpat/ConfigureChecks.cmake +++ b/Utilities/cmexpat/ConfigureChecks.cmake @@ -44,14 +44,6 @@ else(WORDS_BIGENDIAN) set(BYTEORDER 1234) endif(WORDS_BIGENDIAN) -if(HAVE_SYS_TYPES_H) - check_symbol_exists("off_t" "sys/types.h" OFF_T) - check_symbol_exists("size_t" "sys/types.h" SIZE_T) -else(HAVE_SYS_TYPES_H) - set(OFF_T "long") - set(SIZE_T "unsigned") -endif(HAVE_SYS_TYPES_H) - check_c_source_compiles(" #include <stdlib.h> /* for NULL */ #include <unistd.h> /* for syscall */ @@ -61,6 +53,3 @@ check_c_source_compiles(" return 0; }" HAVE_SYSCALL_GETRANDOM) - -check_c_compiler_flag("-fno-strict-aliasing" FLAG_NO_STRICT_ALIASING) -check_c_compiler_flag("-fvisibility=hidden" FLAG_VISIBILITY) diff --git a/Utilities/cmexpat/expat_config.h.cmake b/Utilities/cmexpat/expat_config.h.cmake index 795b607..e91861e 100644 --- a/Utilities/cmexpat/expat_config.h.cmake +++ b/Utilities/cmexpat/expat_config.h.cmake @@ -86,9 +86,3 @@ #ifdef _MSC_VER # define __func__ __FUNCTION__ #endif - -/* Define to `long' if <sys/types.h> does not define. */ -#cmakedefine off_t @OFF_T@ - -/* Define to `unsigned' if <sys/types.h> does not define. */ -#cmakedefine size_t @SIZE_T@ |