Changeset View
Changeset View
Standalone View
Standalone View
src/config/CMakeLists.txt
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | check_cxx_source_compiles(" | ||||
#include <type_traits> | #include <type_traits> | ||||
int main() { | int main() { | ||||
static_assert(std::is_same<int8_t, char>::value, \"\"); | static_assert(std::is_same<int8_t, char>::value, \"\"); | ||||
return 0; | return 0; | ||||
} | } | ||||
" CHAR_EQUALS_INT8) | " CHAR_EQUALS_INT8) | ||||
check_cxx_source_compiles(" | check_cxx_source_compiles(" | ||||
#include <sys/types.h> | |||||
#include <type_traits> | |||||
int main() { | |||||
static_assert(std::is_same<off_t, off64_t>::value, \"\"); | |||||
return 0; | |||||
} | |||||
" OFF_T_EQUALS_OFF64_T) | |||||
check_cxx_source_compiles(" | |||||
__attribute__((visibility(\"default\"))) int main() { | __attribute__((visibility(\"default\"))) int main() { | ||||
return 0; | return 0; | ||||
} | } | ||||
" HAVE_FUNC_ATTRIBUTE_VISIBILITY) | " HAVE_FUNC_ATTRIBUTE_VISIBILITY) | ||||
check_cxx_source_compiles(" | check_cxx_source_compiles(" | ||||
__declspec(dllexport) int main() { | __declspec(dllexport) int main() { | ||||
return 0; | return 0; | ||||
Show All 34 Lines |