Changeset View
Changeset View
Standalone View
Standalone View
libcxx/test/support/platform_support.h
Show All 11 Lines | |||||
// - floating point number string output | // - floating point number string output | ||||
#ifndef PLATFORM_SUPPORT_H | #ifndef PLATFORM_SUPPORT_H | ||||
#define PLATFORM_SUPPORT_H | #define PLATFORM_SUPPORT_H | ||||
#include "test_macros.h" | #include "test_macros.h" | ||||
// locale names | // locale names | ||||
#define LOCALE_en_US "en_US" | |||||
#define LOCALE_en_US_UTF_8 "en_US.UTF-8" | #define LOCALE_en_US_UTF_8 "en_US.UTF-8" | ||||
#define LOCALE_fr_FR_UTF_8 "fr_FR.UTF-8" | #define LOCALE_fr_FR_UTF_8 "fr_FR.UTF-8" | ||||
#ifdef __linux__ | #ifdef __linux__ | ||||
# define LOCALE_fr_CA_ISO8859_1 "fr_CA.ISO-8859-1" | # define LOCALE_fr_CA_ISO8859_1 "fr_CA.ISO-8859-1" | ||||
# define LOCALE_cs_CZ_ISO8859_2 "cs_CZ.ISO-8859-2" | # define LOCALE_cs_CZ_ISO8859_2 "cs_CZ.ISO-8859-2" | ||||
#elif defined(_WIN32) | #elif defined(_WIN32) | ||||
# define LOCALE_fr_CA_ISO8859_1 "fr-CA" | # define LOCALE_fr_CA_ISO8859_1 "fr-CA" | ||||
# define LOCALE_cs_CZ_ISO8859_2 "cs-CZ" | # define LOCALE_cs_CZ_ISO8859_2 "cs-CZ" | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |