mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-17 07:37:13 +02:00
Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
This commit is contained in:
39
vendor/POCO/Foundation/include/Poco/UnWindows.h
vendored
Normal file
39
vendor/POCO/Foundation/include/Poco/UnWindows.h
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
//
|
||||
// UnWindows.h
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Core
|
||||
// Module: UnWindows
|
||||
//
|
||||
// Simple wrapper around the <windows.h> header file.
|
||||
//
|
||||
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef Foundation_UnWindows_INCLUDED
|
||||
#define Foundation_UnWindows_INCLUDED
|
||||
|
||||
|
||||
// Reduce bloat
|
||||
#if defined(_WIN32)
|
||||
#if !defined(WIN32_LEAN_AND_MEAN) && !defined(POCO_BLOATED_WIN32)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(POCO_NO_WINDOWS_H)
|
||||
#include <windows.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <Winsock2.h>
|
||||
#include <Iphlpapi.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif // __MINGW32__
|
||||
#endif
|
||||
|
||||
|
||||
#endif // Foundation_UnWindows_INCLUDED
|
Reference in New Issue
Block a user