// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // // pch.h // Header for platform projection include files // #pragma once #define NOMCX #define NOHELP #define NOCOMM // Manually include til after we include Windows.Foundation to give it winrt superpowers #define BLOCK_TIL /////////////////////////////////////////////////////////////////////////////////// // Below is the contents of Terminal's LibraryIncludes.h // C #include #include #include // STL // Block minwindef.h min/max macros to prevent conflict #define NOMINMAX // Exclude rarely-used stuff from Windows headers #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // WIL #include #include #include #include #include // Due to the use of RESOURCE_SUPPRESS_STL in result.h, we need to include resource.h first, which happens // implicitly through the includes above. If RESOURCE_SUPPRESS_STL is gone, the order doesn't matter anymore. #include #include #define BASIC_FACTORY(typeName) \ struct typeName : typeName##T \ { \ }; ////////////////////////////////////////////////////////////////////////////////////// // This is inexplicable, but for whatever reason, cppwinrt conflicts with the // SDK definition of this function, so the only fix is to undef it. // from WinBase.h // Windows::UI::Xaml::Media::Animation::IStoryboard::GetCurrentTime #ifdef GetCurrentTime #undef GetCurrentTime #endif #include #include #include #include #include #include #include #include // #include #include #include // #include // Manually include til after we include Windows.Foundation to give it winrt superpowers //#include "til.h" #define _TIL_INLINEPREFIX __declspec(noinline) inline #include "til_string.h" // #include #include // must go after the CoreDispatcher type is defined