llvm.org GIT mirror llvm / 254f35c
Platform tests for `sys/uio.h' header and `writev' function. This is the cmake equivalent for r124769. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124775 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 8 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6565 check_include_file(sys/stat.h HAVE_SYS_STAT_H)
6666 check_include_file(sys/time.h HAVE_SYS_TIME_H)
6767 check_include_file(sys/types.h HAVE_SYS_TYPES_H)
68 check_include_file(sys/uio.h HAVE_SYS_UIO_H)
6869 check_include_file(sys/wait.h HAVE_SYS_WAIT_H)
6970 check_include_file(termios.h HAVE_TERMIOS_H)
7071 check_include_file(unistd.h HAVE_UNISTD_H)
102103 check_symbol_exists(setjmp setjmp.h HAVE_SETJMP)
103104 check_symbol_exists(siglongjmp setjmp.h HAVE_SIGLONGJMP)
104105 check_symbol_exists(sigsetjmp setjmp.h HAVE_SIGSETJMP)
106 endif()
107 if( HAVE_SYS_UIO_H )
108 check_symbol_exists(writev sys/uio.h HAVE_WRITEV)
105109 endif()
106110 check_symbol_exists(nearbyintf math.h HAVE_NEARBYINTF)
107111 check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)
441441 /* Define to 1 if you have the header file. */
442442 #cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
443443
444 /* Define to 1 if you have the header file. */
445 #cmakedefine HAVE_SYS_UIO_H ${HAVE_SYS_UIO_H}
446
444447 /* Define to 1 if you have that is POSIX.1 compatible. */
445448 #cmakedefine HAVE_SYS_WAIT_H ${HAVE_SYS_WAIT_H}
446449
461464
462465 /* Define to 1 if you have the header file. */
463466 #cmakedefine HAVE_WINDOWS_H ${HAVE_WINDOWS_H}
467
468 /* Define to 1 if you have the `writev' function. */
469 #cmakedefine HAVE_WRITEV ${HAVE_WRITEV}
464470
465471 /* Define if the xdot.py program is available */
466472 #undef HAVE_XDOT_PY