summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/msvc.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-06-12 23:16:04 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-06-12 23:47:18 +0200
commit7873d7b8ae09d77535affd2931e80abbed7563d0 (patch)
tree450eb6dc3d179d2064cd0d95dae17e429a8693f7 /crawl-ref/source/msvc.h
parent3a2149bc4514c70a621aad7728786af2fe18912f (diff)
downloadcrawl-ref-7873d7b8ae09d77535affd2931e80abbed7563d0.tar.gz
crawl-ref-7873d7b8ae09d77535affd2931e80abbed7563d0.zip
Define missing ssize_t on MSVC.
Diffstat (limited to 'crawl-ref/source/msvc.h')
-rw-r--r--crawl-ref/source/msvc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/msvc.h b/crawl-ref/source/msvc.h
index 063e9857ab..4ab9aa19f3 100644
--- a/crawl-ref/source/msvc.h
+++ b/crawl-ref/source/msvc.h
@@ -51,6 +51,8 @@ inline double round(double x)
return ceil(x - 0.5);
}
+typedef ptrdiff_t ssize_t;
+
#endif /* defined(TARGET_COMPILER_VC) */
#endif