summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index fcaa373b09..a911f883c8 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -199,6 +199,9 @@
#include <dos.h>
+ // It's sad we don't use autoconf...
+ #define round(x) floor((x)+0.5)
+
// Use Perl-compatible regular expressions. libpcre must be available and
// linked in. This is optional.
#ifndef REGEX_PCRE