| 123456789101112131415161718192021222324252627282930313233343536 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- #pragma once
- #include "Banned.h"
- #include "CommonDefines.h"
- #define _CRT_RAND_S // Enable rand_s in the CRT
- #pragma warning(push)
- #pragma warning(disable: 4995) /* 'function': name was marked as #pragma deprecated */
- // === Windows Header Files ===
- #define INC_OLE2 /* for windows.h */
- #define CONST_VTABLE /* for objbase.h */
- #include <windows.h>
- /* Don't want GetObject and GetClassName to be defined to GetObjectW and GetClassNameW */
- #undef GetObject
- #undef GetClassName
- #undef Yield /* winbase.h defines this but we want to use it for Js::OpCode::Yield; it is Win16 legacy, no harm undef'ing it */
- #pragma warning(pop)
- // === Core Header Files ===
- #include "Core\api.h"
- #include "Core\CommonTypedefs.h"
- #include "core\CriticalSection.h"
- #include "core\Assertions.h"
- // === Exceptions Header Files ===
- #include "Exceptions\Throw.h"
- #include "Exceptions\ExceptionCheck.h"
- #include "Exceptions\reporterror.h"
|