#ifndef GrAutoLocaleSetter_DEFINED
#define GrAutoLocaleSetter_DEFINED
#include "include/core/SkTypes.h"
#include "include/private/base/SkNoncopyable.h"
#if defined(SK_BUILD_FOR_WIN)
#include "include/core/SkString.h"
#endif
#if !defined(SK_BUILD_FOR_ANDROID)
#include <locale.h>
#endif
#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
#include <xlocale.h>
#include <cstring>
#define HAVE_XLOCALE …
#else
#define HAVE_XLOCALE …
#endif
#if defined(SK_BUILD_FOR_ANDROID) || defined(__UCLIBC__) || defined(_NEWLIB_VERSION)
#define HAVE_LOCALE_T …
#else
#define HAVE_LOCALE_T …
#endif
class GrAutoLocaleSetter : public SkNoncopyable { … };
#undef HAVE_LOCALE_T
#undef HAVE_XLOCALE
#endif