summaryrefslogtreecommitdiff
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-15 17:11:55 +0000
committerChris Lattner <sabre@nondot.org>2010-05-15 17:11:55 +0000
commit4c297c9153899a41c541474187a3e3a8dbf8a794 (patch)
treec16885feef192d37f9e34f24f9c85e46b9794eb0 /include/llvm/Config
parent87565c1d779a1903d10ddd11d886c0f79ee430b5 (diff)
downloadllvm-4c297c9153899a41c541474187a3e3a8dbf8a794.tar.gz
llvm-4c297c9153899a41c541474187a3e3a8dbf8a794.tar.bz2
llvm-4c297c9153899a41c541474187a3e3a8dbf8a794.tar.xz
improve portability to systems that don't have round, patch by
Evzen Muller! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index adbcc1132f..e7594babaa 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -312,6 +312,9 @@
/* Define to 1 if you have the `roundf' function. */
#undef HAVE_ROUNDF
+/* Define to 1 if you have the `round' function. */
+#cmakedefine HAVE_ROUND ${HAVE_ROUND}
+
/* Define to 1 if you have the `sbrk' function. */
#cmakedefine HAVE_SBRK ${HAVE_SBRK}