From 78d0dd241a8b3c06a4cb82af2b0a321d7853ef5b Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Tue, 23 Feb 2021 17:38:51 -0800 Subject: [PATCH] Fix circular inclusion. --- stl/inc/xkeycheck.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stl/inc/xkeycheck.h b/stl/inc/xkeycheck.h index 6baa330a1fd..60ab98f3e21 100644 --- a/stl/inc/xkeycheck.h +++ b/stl/inc/xkeycheck.h @@ -6,7 +6,10 @@ #pragma once #ifndef _XKEYCHECK_H #define _XKEYCHECK_H -#include + +// xkeycheck.h assumes that it's being included by yvals_core.h in a specific order. +// Nothing else should include xkeycheck.h. + #if _STL_COMPILER_PREPROCESSOR #if defined(__cplusplus) && !defined(_ALLOW_KEYWORD_MACROS) && !defined(__INTELLISENSE__)