From f64395142587742f61d3dbdf42334a5c00431c24 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 28 May 2024 10:25:20 +0200 Subject: [PATCH] system: move _T to compat ...where it belongs. Signed-off-by: Simon Rozman --- include/stdex/compat.hpp | 3 +++ include/stdex/system.hpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/stdex/compat.hpp b/include/stdex/compat.hpp index 98dce58e5..d78f9f166 100644 --- a/include/stdex/compat.hpp +++ b/include/stdex/compat.hpp @@ -159,6 +159,9 @@ #define __L(x) L ## x #define _L(x) __L(x) #endif +#ifndef _T +#define _T(x) x +#endif #ifndef _Likely_ #if _HAS_CXX20 diff --git a/include/stdex/system.hpp b/include/stdex/system.hpp index 4f4af6ae8..11cfc3db7 100644 --- a/include/stdex/system.hpp +++ b/include/stdex/system.hpp @@ -62,7 +62,6 @@ namespace stdex using schar_t = TCHAR; #else using schar_t = char; -#define _T(x) x #endif ///