aboutsummaryrefslogtreecommitdiff
path: root/sim/common/config.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-07 16:28:52 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-07 16:28:52 +0000
commita13852d93636405b7b3cf87f10521e52bcaafe48 (patch)
treed5c0de9bee6ecf11dd72636d479d8f5d066781bf /sim/common/config.in
parent481d79819e0e47f23f20408a6595333012da6f58 (diff)
downloadgdb-a13852d93636405b7b3cf87f10521e52bcaafe48.zip
gdb-a13852d93636405b7b3cf87f10521e52bcaafe48.tar.gz
gdb-a13852d93636405b7b3cf87f10521e52bcaafe48.tar.bz2
sim: dv-cfi: check for posix_fallocate
Some systems (like OS X) do not have posix_fallocate. Add a configure check for it before we try to use it. This is less work than trying to support old systems. URL: http://sourceware.org/bugzilla/show_bug.cgi?id=13161 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/config.in')
-rw-r--r--sim/common/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/config.in b/sim/common/config.in
index 6f93ff4..5792785 100644
--- a/sim/common/config.in
+++ b/sim/common/config.in
@@ -43,6 +43,9 @@
/* Define to 1 if you have the `munmap' function. */
#undef HAVE_MUNMAP
+/* Define to 1 if you have the `posix_fallocate' function. */
+#undef HAVE_POSIX_FALLOCATE
+
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION