From 80dfd83f5135c18627f384237a4187a3370409b3 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 13 Feb 2024 22:55:19 +0800 Subject: [PATCH] fix minor compile errors --- include/pocketpy/common.h | 1 + include/pocketpy/str.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/pocketpy/common.h b/include/pocketpy/common.h index 33c4dac0..e7ca0603 100644 --- a/include/pocketpy/common.h +++ b/include/pocketpy/common.h @@ -2,6 +2,7 @@ #include #include +#include #include #include diff --git a/include/pocketpy/str.h b/include/pocketpy/str.h index 7debedba..d45518cd 100644 --- a/include/pocketpy/str.h +++ b/include/pocketpy/str.h @@ -153,6 +153,10 @@ struct SStream{ void write_hex(i64); }; +#ifdef _S +#undef _S +#endif + template Str _S(Args&&... args) { SStream ss;