]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
win: change ssize_t typedef to SSIZE_T
authorAdam <Adam@sigterm.info>
Sun, 5 May 2019 18:06:31 +0000 (14:06 -0400)
committerAdam <Adam@sigterm.info>
Sun, 5 May 2019 18:08:50 +0000 (14:08 -0400)
libmaxminddb redefines this when building under MSVC and breaks the
build otherwise due to the redefinition of ssize_t

win/inspircd_win32wrapper.h

index a6ca0da6e7754b81c9110559f16bfde95e95b595..8cf9361b77f8b1b915085873408e6e6a14035ac2 100644 (file)
@@ -85,7 +85,7 @@
 #define strcasecmp _stricmp
 #define strncasecmp _strnicmp
 
-typedef int ssize_t;
+typedef SSIZE_T ssize_t;
 
 /* _popen, _pclose */
 #define popen _popen