aboutsummaryrefslogtreecommitdiff
path: root/dep/utf8cpp/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/utf8cpp/utf8.h')
-rw-r--r--dep/utf8cpp/utf8.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dep/utf8cpp/utf8.h b/dep/utf8cpp/utf8.h
index 82b13f59f98..b51353093c3 100644
--- a/dep/utf8cpp/utf8.h
+++ b/dep/utf8cpp/utf8.h
@@ -28,6 +28,18 @@ DEALINGS IN THE SOFTWARE.
#ifndef UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
#define UTF8_FOR_CPP_2675DCD0_9480_4c0c_B92A_CC14C027B731
+/*
+To control the C++ language version used by the library, you can define UTF_CPP_CPLUSPLUS macro
+and set it to one of the values used by the __cplusplus predefined macro.
+
+For instance,
+ #define UTF_CPP_CPLUSPLUS 199711L
+will cause the UTF-8 CPP library to use only types and language features available in the C++ 98 standard.
+Some library features will be disabled.
+
+If you leave UTF_CPP_CPLUSPLUS undefined, it will be internally assigned to __cplusplus.
+*/
+
#include "utf8/checked.h"
#include "utf8/unchecked.h"