2012-04-29 20:52:25 +02:00
|
|
|
//
|
|
|
|
// UnWindows.h
|
|
|
|
//
|
|
|
|
// Library: Foundation
|
|
|
|
// Package: Core
|
|
|
|
// Module: UnWindows
|
|
|
|
//
|
2020-01-22 08:01:17 +01:00
|
|
|
// Simple wrapper around the <windows.h> header file.
|
2012-04-29 20:52:25 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 20:52:25 +02:00
|
|
|
//
|
|
|
|
|
2012-09-11 04:02:23 +02:00
|
|
|
|
|
|
|
#ifndef Foundation_UnWindows_INCLUDED
|
|
|
|
#define Foundation_UnWindows_INCLUDED
|
|
|
|
|
|
|
|
|
2012-09-10 05:39:50 +02:00
|
|
|
// Reduce bloat
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#if !defined(WIN32_LEAN_AND_MEAN) && !defined(POCO_BLOATED_WIN32)
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2012-04-29 20:52:25 +02:00
|
|
|
|
2018-04-17 20:45:08 +02:00
|
|
|
#if !defined(POCO_NO_WINDOWS_H)
|
|
|
|
#include <windows.h>
|
|
|
|
#ifdef __MINGW32__
|
|
|
|
#include <Winsock2.h>
|
|
|
|
#include <Iphlpapi.h>
|
|
|
|
#include <ws2tcpip.h>
|
|
|
|
#endif // __MINGW32__
|
|
|
|
#endif
|
2012-04-29 20:52:25 +02:00
|
|
|
|
2018-06-07 00:44:40 +02:00
|
|
|
|
2012-09-11 04:02:23 +02:00
|
|
|
#endif // Foundation_UnWindows_INCLUDED
|