Reverse inclusion order of <ws2tcpip.h> and <winsock2.h>, per Dave Page.

REL8_2_STABLE
Tom Lane 19 years ago
parent b85a965f5f
commit c713683fd7
  1. 2
      src/include/port/win32/sys/socket.h

@ -5,8 +5,8 @@
* *
* Note: Don't include <wingdi.h> directly. It causes compile errors. * Note: Don't include <wingdi.h> directly. It causes compile errors.
*/ */
#include <ws2tcpip.h>
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h>
#undef ERROR #undef ERROR
#undef small #undef small

Loading…
Cancel
Save