mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-02-25 20:06:53 +00:00
Remove redundant sizeof "size_t" check
The result variables: HAVE_${VARIABLE}, ${VARIABLE}, ${VARIABLE}_CODE, etc. do not seem to be referenced anywhere in the CMake build script.
This commit is contained in:
parent
12f9bcd2f4
commit
c90e1ec3ef
|
@ -47,7 +47,6 @@ include(CheckCSourceCompiles)
|
||||||
include(CheckCSourceRuns)
|
include(CheckCSourceRuns)
|
||||||
include(CheckCCompilerFlag)
|
include(CheckCCompilerFlag)
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
include(CheckTypeSize)
|
|
||||||
include(CheckStructHasMember)
|
include(CheckStructHasMember)
|
||||||
include(CMakeDependentOption)
|
include(CMakeDependentOption)
|
||||||
include(FindPkgConfig)
|
include(FindPkgConfig)
|
||||||
|
@ -910,7 +909,6 @@ if(SDL_LIBC)
|
||||||
|
|
||||||
set(STDC_HEADER_NAMES "stddef.h;stdarg.h;stdlib.h;string.h;stdio.h;wchar.h;float.h")
|
set(STDC_HEADER_NAMES "stddef.h;stdarg.h;stdlib.h;string.h;stdio.h;wchar.h;float.h")
|
||||||
check_include_files("${STDC_HEADER_NAMES}" STDC_HEADERS)
|
check_include_files("${STDC_HEADER_NAMES}" STDC_HEADERS)
|
||||||
check_type_size("size_t" SIZEOF_SIZE_T)
|
|
||||||
check_symbol_exists(M_PI math.h HAVE_M_PI)
|
check_symbol_exists(M_PI math.h HAVE_M_PI)
|
||||||
# TODO: refine the mprotect check
|
# TODO: refine the mprotect check
|
||||||
check_c_source_compiles("#include <sys/types.h>
|
check_c_source_compiles("#include <sys/types.h>
|
||||||
|
|
Loading…
Reference in a new issue