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 +