Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/X11
File: Xwinsock.h
/*
[0] Fix | Delete
[1] Fix | Delete
Copyright 1996, 1998 The Open Group
[2] Fix | Delete
[3] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[4] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[5] Fix | Delete
the above copyright notice appear in all copies and that both that
[6] Fix | Delete
copyright notice and this permission notice appear in supporting
[7] Fix | Delete
documentation.
[8] Fix | Delete
[9] Fix | Delete
The above copyright notice and this permission notice shall be included
[10] Fix | Delete
in all copies or substantial portions of the Software.
[11] Fix | Delete
[12] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
[13] Fix | Delete
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
[14] Fix | Delete
ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
[15] Fix | Delete
SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABIL-
[16] Fix | Delete
ITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
[17] Fix | Delete
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
[18] Fix | Delete
IN THE SOFTWARE.
[19] Fix | Delete
[20] Fix | Delete
Except as contained in this notice, the name of The Open Group shall
[21] Fix | Delete
not be used in advertising or otherwise to promote the sale, use or
[22] Fix | Delete
other dealings in this Software without prior written authorization from
[23] Fix | Delete
The Open Group.
[24] Fix | Delete
[25] Fix | Delete
*/
[26] Fix | Delete
[27] Fix | Delete
/*
[28] Fix | Delete
* This header file has for sole purpose to allow to include winsock.h
[29] Fix | Delete
* without getting any name conflicts with our code.
[30] Fix | Delete
* Conflicts come from the fact that including winsock.h actually pulls
[31] Fix | Delete
* in the whole Windows API...
[32] Fix | Delete
*/
[33] Fix | Delete
[34] Fix | Delete
#undef _XFree86Server
[35] Fix | Delete
#ifdef XFree86Server
[36] Fix | Delete
# define _XFree86Server
[37] Fix | Delete
# undef XFree86Server
[38] Fix | Delete
#endif
[39] Fix | Delete
[40] Fix | Delete
/*
[41] Fix | Delete
* mingw-w64 headers define BOOL as a typedef, protecting against macros
[42] Fix | Delete
* mingw.org headers define BOOL in terms of WINBOOL
[43] Fix | Delete
* ... so try to come up with something which works with both :-)
[44] Fix | Delete
*/
[45] Fix | Delete
#define _NO_BOOL_TYPEDEF
[46] Fix | Delete
#define BOOL WINBOOL
[47] Fix | Delete
#define INT32 wINT32
[48] Fix | Delete
#undef Status
[49] Fix | Delete
#define Status wStatus
[50] Fix | Delete
#define ATOM wATOM
[51] Fix | Delete
#define BYTE wBYTE
[52] Fix | Delete
#define FreeResource wFreeResource
[53] Fix | Delete
#include <winsock2.h>
[54] Fix | Delete
#undef Status
[55] Fix | Delete
#define Status int
[56] Fix | Delete
#undef BYTE
[57] Fix | Delete
#undef BOOL
[58] Fix | Delete
#undef INT32
[59] Fix | Delete
#undef ATOM
[60] Fix | Delete
#undef FreeResource
[61] Fix | Delete
#undef CreateWindowA
[62] Fix | Delete
#undef RT_FONT
[63] Fix | Delete
#undef RT_CURSOR
[64] Fix | Delete
[65] Fix | Delete
/*
[66] Fix | Delete
* Older version of this header used to name the windows API bool type wBOOL,
[67] Fix | Delete
* rather than more standard name WINBOOL
[68] Fix | Delete
*/
[69] Fix | Delete
#define wBOOL WINBOOL
[70] Fix | Delete
[71] Fix | Delete
#ifdef _XFree86Server
[72] Fix | Delete
# define XFree86Server
[73] Fix | Delete
# undef _XFree86Server
[74] Fix | Delete
#endif
[75] Fix | Delete
[76] Fix | Delete
[77] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function