mirror of
https://github.com/p-ranav/indicators.git
synced 2025-12-08 05:30:22 +08:00
Merge pull request #115 from aengusjiang/master
fix the bug of has_include error with g++4.8.5
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
#define INDICATORS_DISPLAY_WIDTH
|
||||
|
||||
#include <clocale>
|
||||
#if __has_include(<codecvt>)
|
||||
#include <codecvt>
|
||||
#if defined __has_include
|
||||
#if __has_include (<codecvt>)
|
||||
#define INDICATORS_HAVE_CODECVT 1
|
||||
#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
|
||||
#endif
|
||||
#endif
|
||||
#include <cstdlib>
|
||||
#include <locale>
|
||||
|
||||
Reference in New Issue
Block a user