]> git.kaiwu.me - nginx.git/commitdiff
Win32: minimized redefinition of ssize_t.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 24 Dec 2016 15:01:14 +0000 (18:01 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 24 Dec 2016 15:01:14 +0000 (18:01 +0300)
All variants of GCC have ssize_t available, there is no need to
redefine it.

src/os/win32/ngx_win32_config.h

index 2cb8e1988994e2f2cec4a49552ffe7b949784f93..ecdf6ad07c04c9e1199d0bc5f1929a3bfb02bee8 100644 (file)
@@ -185,7 +185,7 @@ typedef unsigned int        ino_t;
 #endif
 
 
-#ifndef __MINGW64_VERSION_MAJOR
+#ifndef __GNUC__
 typedef int                 ssize_t;
 #endif