Files
o3de/Code/Legacy/CryCommon/CryWindows.h
T
Esteban Papp 9f0bbf3b74 SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)
* git mv Code\CryEngine Code\Legacy
* redirecting CMakeLists.txt
* fixing uic warning
* Some more CryEngine mentions
* validation scripts

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
2021-06-29 13:51:24 -07:00

45 lines
730 B
C

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// Description : Specific header to handle Windows.h include
#ifndef CRYINCLUDE_CRYCOMMON_CRYWINDOWS_H
#define CRYINCLUDE_CRYCOMMON_CRYWINDOWS_H
#pragma once
#if defined(WIN32) || defined(WIN64)
#ifndef FULL_WINDOWS_HEADER
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#undef GetCommandLine
#undef GetObject
#undef PlaySound
#undef GetClassName
#undef DrawText
#undef GetCharWidth
#undef GetUserName
#undef LoadLibrary
#undef RegisterClass
#undef min
#undef max
#undef NOMINMAX
#undef WIN32_LEAN_AND_MEAN
#undef FULL_WINDOWS_HEADER
#endif
#endif // CRYINCLUDE_CRYCOMMON_CRYWINDOWS_H