From a8eb7a9f64eadc8b14e6eae8b68339efe6701791 Mon Sep 17 00:00:00 2001 From: Igor Zarzycki Date: Tue, 24 Sep 2024 13:39:20 +0200 Subject: [PATCH] Add crap_lib_text_encoding testing functionality. --- include/crap/version | 1 + include/crap/version.d/libtextencoding.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 include/crap/version.d/libtextencoding.h diff --git a/include/crap/version b/include/crap/version index ec6458c..3ee3809 100644 --- a/include/crap/version +++ b/include/crap/version @@ -11,6 +11,7 @@ #include "version.d/libintegralconstantcallable.h" #include "version.d/libintpow2.h" #include "version.d/libsaturationarithmetic.h" +#include "version.d/libtextencoding.h" #include "version.d/libtypeidentity.h" #include "version.d/libvoidt.h" #include "version.d/packindexing.h" diff --git a/include/crap/version.d/libtextencoding.h b/include/crap/version.d/libtextencoding.h new file mode 100644 index 0000000..e1c90b8 --- /dev/null +++ b/include/crap/version.d/libtextencoding.h @@ -0,0 +1,17 @@ +#ifndef CRAP_VERSION_LIBTEXTENCODING +#define CRAP_VERSION_LIBTEXTENCODING + +#ifdef __has_include +#if __has_include() +#include +#endif +#endif + +#ifdef __cpp_lib_text_encoding +#define crap_lib_text_encoding __cpp_lib_text_encoding +#else +#define crap_lib_text_encoding 0L +#endif + +#endif +