mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-28 22:23:21 +01:00
24 lines
327 B
C++
24 lines
327 B
C++
|
#ifndef ARABICA_MBSTATE_T
|
||
|
#define ARABICA_MBSTATE_T
|
||
|
|
||
|
#ifdef ARABICA_NO_STD_MBSTATE_T
|
||
|
|
||
|
#ifndef ARABICA_NO_MBSTATE_T
|
||
|
#include <wchar.t>
|
||
|
namespace std {
|
||
|
using ::mbstate_t;
|
||
|
}
|
||
|
#else
|
||
|
namespace std {
|
||
|
typedef struct
|
||
|
{
|
||
|
int dummy; /* So that {0} is a valid constant initializer. */
|
||
|
} mbstate_t;
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|