OSDN Git Service

Correct misuse of __INSIDE_MSYS__ feature test.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Thu, 7 Sep 2017 21:45:17 +0000 (22:45 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Thu, 7 Sep 2017 21:45:17 +0000 (22:45 +0100)
w32api/ChangeLog
w32api/include/winsock2.h

index a363eb5..1afc463 100644 (file)
@@ -1,5 +1,13 @@
 2017-09-07  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
+       Correct misuse of __INSIDE_MSYS__ feature test.
+
+       * include/winsock2.h [!__INSIDE_MSYS__]: One of several instances
+       omits "defined" operator; it should be expressed consistently as...
+       [! defined __INSIDE_MSYS__]: ...this; correct it.
+
+2017-09-07  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
        Prepare for <winsock.h> vs. <winsock2.h> refactoring.
 
        * include/winsock.h: Tidy layout; assert copyright.
index 2ca0503..437743d 100644 (file)
@@ -148,7 +148,7 @@ int PASCAL __WSAFDIsSet (SOCKET, fd_set *);
 #warning "Your <sys/types.h> may cause runtime problems with W32 sockets."
 #endif /* !_SYS_TYPES_FD_SET */
 
-#if ! (defined __INSIDE_CYGWIN__ || (__INSIDE_MSYS__))
+#if ! (defined __INSIDE_CYGWIN__ || defined __INSIDE_MSYS__)
 
 #ifndef _TIMEVAL_DEFINED
 /* FIXME: These should be factored out; they are properly defined