mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-16 04:18:51 +08:00
Closes #93 - Defined _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING to remove codecvt warning
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
#if __has_include(<codecvt>)
|
#if __has_include(<codecvt>)
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
#define INDICATORS_HAVE_CODECVT 1
|
#define INDICATORS_HAVE_CODECVT 1
|
||||||
|
#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
|
||||||
#endif
|
#endif
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|||||||
@@ -1345,6 +1345,7 @@ static inline void move_left(int cols) { std::cout << "\033[" << cols << "D"; }
|
|||||||
#if __has_include(<codecvt>)
|
#if __has_include(<codecvt>)
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
#define INDICATORS_HAVE_CODECVT 1
|
#define INDICATORS_HAVE_CODECVT 1
|
||||||
|
#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
|
||||||
#endif
|
#endif
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|||||||
Reference in New Issue
Block a user