From 63bc3bebed43b4bbdc38512fae0844799bd3622c Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 15 Dec 2024 11:23:04 -0500 Subject: [PATCH] add GEN_NS to txt macro --- base/dependencies/strings.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/dependencies/strings.hpp b/base/dependencies/strings.hpp index 788a553..3c60b68 100644 --- a/base/dependencies/strings.hpp +++ b/base/dependencies/strings.hpp @@ -40,9 +40,9 @@ struct Str #ifndef txt # if GEN_COMPILER_CPP -# define txt( text ) Str { ( text ), sizeof( text ) - 1 } +# define txt( text ) GEN_NS Str { ( text ), sizeof( text ) - 1 } # else -# define txt( text ) (Str){ ( text ), sizeof( text ) - 1 } +# define txt( text ) (GEN_NS Str){ ( text ), sizeof( text ) - 1 } # endif #endif