summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-03-12 19:50:21 +0100
committerSlávek Banko <[email protected]>2016-03-12 19:50:41 +0100
commite563a0b89e41c5af2489286ba1351211d1dc5084 (patch)
tree3dd9d92f56ba706bd297e175df56d598033258f7
parent30ec416969ed6fa4fa8a99680ad45a613e6cb38b (diff)
downloadk3b-e563a0b89e41c5af2489286ba1351211d1dc5084.tar.gz
k3b-e563a0b89e41c5af2489286ba1351211d1dc5084.zip
cmake: Fix HAVE_LRINT and HAVE_LRINTF definitions
Must be defined always - with a value 0 or 1 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0a23f8e5d58d8a19bd36e0576415a66af45fb96f)
-rw-r--r--config.h.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h.cmake b/config.h.cmake
index a914a13..0b361fb 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -23,8 +23,8 @@
#cmakedefine HAVE_SYS_VFS_H
#cmakedefine HAVE_BYTESWAP_H
#cmakedefine HAVE_STDINT_H
-#cmakedefine HAVE_LRINT
-#cmakedefine HAVE_LRINTF
+#define HAVE_LRINT @HAVE_LRINT@
+#define HAVE_LRINTF @HAVE_LRINTF@
#cmakedefine HAVE_STAT64
// Don't define HAVE_RESMGR due to it seems to be totally outdated