Skip to content

Commit

Permalink
Add crap_lib_text_encoding testing functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaxyM authored Sep 24, 2024
1 parent 7808e32 commit a8eb7a9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/crap/version
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
17 changes: 17 additions & 0 deletions include/crap/version.d/libtextencoding.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifndef CRAP_VERSION_LIBTEXTENCODING
#define CRAP_VERSION_LIBTEXTENCODING

#ifdef __has_include
#if __has_include(<version>)
#include <version>
#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

0 comments on commit a8eb7a9

Please sign in to comment.