summaryrefslogtreecommitdiff
path: root/include/llvm/Config/config.h.in
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-22 12:31:53 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-22 12:31:53 +0000
commit5745fbce1674b29f4dce6b6e31556c4c1e83dc89 (patch)
treea5aaefd6d9fb122e4f744a855d20e57df129b7e9 /include/llvm/Config/config.h.in
parentf264568bae482601431e4ac923172fa3671eb9e7 (diff)
downloadllvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.tar.gz
llvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.tar.bz2
llvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.tar.xz
Add configure checking for pread(2) and use it to save a syscall when reading files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.in')
-rw-r--r--include/llvm/Config/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 813c6ebc38..b3a9590804 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -295,6 +295,9 @@
/* Define to 1 if you have the `powf' function. */
#undef HAVE_POWF
+/* Define to 1 if you have the `pread' function. */
+#undef HAVE_PREAD
+
/* Define if libtool can extract symbol lists from object files. */
#undef HAVE_PRELOADED_SYMBOLS