X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/882dfc675372ec3544e329ad6df8c4cdddbdb52d..6c2cd2a2116c5eff1646e0acb7cad2c887300300:/src/msw/wince/net.cpp?ds=sidebyside diff --git a/src/msw/wince/net.cpp b/src/msw/wince/net.cpp index 7891b54e4f..2c05380bb6 100644 --- a/src/msw/wince/net.cpp +++ b/src/msw/wince/net.cpp @@ -1,7 +1,16 @@ -// Copyright 1998, Ben Goetter. All rights reserved. +/////////////////////////////////////////////////////////////////////////////// +// Name: src/msw/wince/net.cpp +// Purpose: +// Author: +// Modified by: +// Created: +// RCS-ID: $Id$ +// Copyright: Copyright 1998, Ben Goetter. All rights reserved. +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// /* - patch holes in winsock + patch holes in winsock WCE 2.0 lacks many of the 'database' winsock routines. Stub just enough them for ss.dll. @@ -12,7 +21,17 @@ */ -#include +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/msw/wrapwin.h" +#endif + #include #include #include @@ -36,7 +55,7 @@ static struct protoent RgProtoEnt[] = // Ordered by most likely to be requested. // Assumes that a service available on different protocols // will use the same port number on each protocol. -// Should that be no longer the case, +// Should that be no longer the case, // remove the fFoundOnce code from getservbyXxx fcns. // This table keeps port numbers in host byte order. @@ -164,4 +183,3 @@ struct protoent * WINSOCKAPI getprotobynumber(int proto) ++pr; } return NULL; } -