2014-02-06 20:12:50 +04:00
|
|
|
enable_language(C)
|
|
|
|
enable_language(CXX)
|
2013-09-20 17:10:40 +04:00
|
|
|
include(CheckStructHasMember)
|
|
|
|
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC)
|
|
|
|
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_C LANGUAGE C)
|
|
|
|
check_struct_has_member("struct timeval" tv_sec sys/select.h HAVE_TIMEVAL_TV_SEC_CXX LANGUAGE CXX)
|