X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5e64615977c6839abe565919e8da50ffda40604..f5766910b6731eb03e82371416e9778203396ce7:/src/msw/wince/net.cpp?ds=inline diff --git a/src/msw/wince/net.cpp b/src/msw/wince/net.cpp index b83753f82c..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,10 +21,6 @@ */ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "net.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -23,7 +28,10 @@ #pragma hdrstop #endif -#include "wx/msw/wrapwin.h" +#ifndef WX_PRECOMP + #include "wx/msw/wrapwin.h" +#endif + #include #include #include @@ -47,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. @@ -175,4 +183,3 @@ struct protoent * WINSOCKAPI getprotobynumber(int proto) ++pr; } return NULL; } -