Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
UnWindows.h
Go to the documentation of this file.
1//
2// UnWindows.h
3//
4// Library: Foundation
5// Package: Core
6// Module: UnWindows
7//
8// Simple wrapper around the <windows.h> header file.
9//
10// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
11// and Contributors.
12//
13// SPDX-License-Identifier: BSL-1.0
14//
15
16
17#ifndef Foundation_UnWindows_INCLUDED
18#define Foundation_UnWindows_INCLUDED
19
20
21// Reduce bloat
22#if defined(_WIN32)
23 #if !defined(WIN32_LEAN_AND_MEAN) && !defined(POCO_BLOATED_WIN32)
24 #define WIN32_LEAN_AND_MEAN
25 #endif
26#endif
27
28
29#if !defined(POCO_NO_WINDOWS_H)
30 #include <windows.h>
31 #ifdef __MINGW32__
32 #include <Winsock2.h>
33 #include <Iphlpapi.h>
34 #include <ws2tcpip.h>
35 #endif // __MINGW32__
36#endif
37
38
39#endif // Foundation_UnWindows_INCLUDED