mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-28 22:23:21 +01:00
f356c2cf10
some implementations don't provide function bodies for the codecvt template clase - I need to check spec on this some implementations have an opaque definition of std::mbstate_t which means it's actually exceeding difficult to use :)
36 lines
700 B
ArmAsm
36 lines
700 B
ArmAsm
#define pasty(m, n) m##n
|
|
#define include pasty(#, include)
|
|
#define ifdef pasty(#, ifdef)
|
|
#define ifndef pasty(#, ifndef)
|
|
#define endif pasty(#, endif)
|
|
#define define pasty(#, define)
|
|
#define message pasty(#, pragma message)
|
|
#define undef pasty(#, undef)
|
|
#define error pasty(#, error)
|
|
#define else pasty(#, else)
|
|
#define comment pasty(#, pragma comment)
|
|
|
|
|
|
ifndef ARABICA_CONFIG_H
|
|
define ARABICA_CONFIG_H
|
|
|
|
#ifdef ARABICA_NO_WCHAR_T
|
|
#undef ARABICA_NO_WCHAR_T
|
|
define pasty(ARABICA, _NO_WCHAR_T) 1
|
|
#endif
|
|
|
|
#ifdef _MSC_VER
|
|
#if (_MSC_VER < 1300)
|
|
define ARABICA_VS6_WORKAROUND
|
|
#endif
|
|
|
|
define ARABICA_NO_CODECVT_SPECIALISATIONS
|
|
#endif
|
|
|
|
#ifdef _WIN32
|
|
define ARABICA_WINDOWS
|
|
#endif
|
|
|
|
endif // ARABICA_CONFIG_H
|
|
|
|
|