summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorAdam <Adam@sigterm.info>2019-05-05 14:06:31 -0400
committerAdam <Adam@sigterm.info>2019-05-05 14:08:50 -0400
commit5e1cb9ed76594f49fa153e1865d34715a0ec950b (patch)
tree9ba52311f3c387af8c869abc2bc20388725ef55f /win
parent3fcf55bef263d20e8aa91f025191cf37f5d5c85a (diff)
win: change ssize_t typedef to SSIZE_T
libmaxminddb redefines this when building under MSVC and breaks the build otherwise due to the redefinition of ssize_t
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index a6ca0da6e..8cf9361b7 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -85,7 +85,7 @@
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
-typedef int ssize_t;
+typedef SSIZE_T ssize_t;
/* _popen, _pclose */
#define popen _popen