summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/msvc.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-06-13 01:22:02 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-06-13 01:22:02 +0200
commit4c0d2314ff367b571c9d9c8e64e2a60b9b13c450 (patch)
tree79f39ee01a832c05ea3664533765a4e540b8e7b9 /crawl-ref/source/msvc.h
parent99e8463d9d66f22c0ecbed5df485260bd2f55353 (diff)
downloadcrawl-ref-4c0d2314ff367b571c9d9c8e64e2a60b9b13c450.tar.gz
crawl-ref-4c0d2314ff367b571c9d9c8e64e2a60b9b13c450.zip
Give MSVC Microsoft's name for strtoull().
TODO: it'd be better to conditionalize it, C99 should be always preferred to non-standard names.
Diffstat (limited to 'crawl-ref/source/msvc.h')
-rw-r--r--crawl-ref/source/msvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/msvc.h b/crawl-ref/source/msvc.h
index 1f325f72b2..12f7bec904 100644
--- a/crawl-ref/source/msvc.h
+++ b/crawl-ref/source/msvc.h
@@ -23,6 +23,7 @@
#define strnicmp _strnicmp
#define ftruncate _chsize
#define putenv _putenv
+#define strtoll _strtoi64
// No va_copy in MSVC
#if !defined(va_copy)