inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 5e1cb9ed76594f49fa153e1865d34715a0ec950b
parent 3fcf55bef263d20e8aa91f025191cf37f5d5c85a
Author: Adam <Adam@sigterm.info>
Date:   Sun,  5 May 2019 14:06:31 -0400

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:
Mwin/inspircd_win32wrapper.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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