Remove unused defines
This commit is contained in:
@@ -107,7 +107,6 @@ check_function_exists(waitpid HAVE_WAITPID)
|
||||
|
||||
# Mostly universal symbols.
|
||||
check_cxx_symbol_exists(strtof cstdlib HAVE_STRTOF)
|
||||
check_symbol_exists(M_PI math.h HAVE_M_PI)
|
||||
check_symbol_exists(size_t stddef.h HAVE_SIZE_T_STDDEF)
|
||||
check_symbol_exists(size_t stdlib.h HAVE_SIZE_T_STDLIB)
|
||||
check_symbol_exists(size_t stdio.h HAVE_SIZE_T_STDIO)
|
||||
@@ -115,24 +114,6 @@ check_symbol_exists(posix_fadvise fcntl.h HAVE_POSIX_FADVISE)
|
||||
|
||||
# Checks to make it easier to work with 32-bit/64-bit builds if required.
|
||||
include(CheckTypeSize)
|
||||
check_type_size(int16_t SIZEOF_INT16_T)
|
||||
check_type_size(uint16_t SIZEOF_UINT16_T)
|
||||
check_type_size(u_int16_t SIZEOF_U_INT16_T)
|
||||
check_type_size(int32_t SIZEOF_INT32_T)
|
||||
check_type_size(uint32_t SIZEOF_UINT32_T)
|
||||
check_type_size(u_int32_t SIZEOF_U_INT32_T)
|
||||
check_type_size(int64_t SIZEOF_INT64_T)
|
||||
check_type_size(char SIZEOF_CHAR)
|
||||
check_type_size("unsigned char" SIZEOF_UNSIGNED_CHAR)
|
||||
check_type_size(short SIZEOF_SHORT)
|
||||
check_type_size("unsigned short" SIZEOF_UNSIGNED_SHORT)
|
||||
check_type_size(int SIZEOF_INT)
|
||||
check_type_size("unsigned int" SIZEOF_UNSIGNED_INT)
|
||||
check_type_size(long SIZEOF_LONG)
|
||||
check_type_size("unsigned long" SIZEOF_UNSIGNED_LONG)
|
||||
check_type_size("long long" SIZEOF_LONG_LONG)
|
||||
check_type_size(float SIZEOF_FLOAT)
|
||||
check_type_size(double SIZEOF_DOUBLE)
|
||||
check_type_size(intptr_t SIZEOF_INTPTR_T)
|
||||
check_type_size(pid_t SIZEOF_PID_T)
|
||||
check_type_size(size_t SIZEOF_SIZE_T)
|
||||
|
||||
Reference in New Issue
Block a user