OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
winelib.h
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// ObjectWindows
3// OWL NExt
4//
5// Created by Juraj Hercek <juraj@syncad.com>
6//
7//----------------------------------------------------------------------------
8
9
10#if !defined(__OWL_WINELIB_H__)
11#define __OWL_WINELIB_H__
12
13//JJH most of the stuff is in winelib-port project
14
15//<winsock problem section>
16//This is here because we need to include winelib's winsock2.h before linux
17//stdlib.h, otherwise we get ntohl() and related defined in linux and not
18//in winelib's manner, problem occured during compilation of
19//source/owlcore/winsock.cpp and in subsequent files related to sockets.
20
21//Check owl/include/private/defs.h:468
22#define _OWLCLASS
23#define _OWLCLASS_RTL
24
25//JJH We need to include this before unix stdlib.h to avoid ntohl() problems.
26#include <winsock2.h>
27//</winsock problem section>
28
29#endif //__OWL_WINELIB_H__
30
31