Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
MBSTATE_T.cpp
Go to the documentation of this file.
1
// checking for mbstate_t in <wchar.h> and <wctype.h>
2
3
25
#include "config.h"
26
27
#if defined (__EDG__) \
28
&& !defined (__DECCXX) \
29
&& !defined (__HP_aCC) \
30
&& !defined (__INTEL_COMPILER) \
31
&& !defined (_SGI_COMPILER_VERSION)
32
// disable error #450-D: the type "long long" is nonstandard
33
// when using the vanilla EDG eccp in strict mode (i.e., w/o
34
// long long support)
35
# pragma diag_suppress 450
36
#endif
// EDG eccp on Linux
37
38
39
// defined to get the correct definition of mbstate_t, available on HPUX;
40
// once we get the correct size of the struct, _RWSTD_NO_MBSTATE_T is
41
// defined in rw/_config.h and we (and the users of the library) are left
42
// with our definition only
43
#if defined (__HP_aCC)
44
# define _INCLUDE__STDC_A1_SOURCE
45
#endif
46
47
#ifndef _RWSTD_NO_WCHAR_H
48
# include <
wchar.h
>
49
#endif
// _RWSTD_NO_WCHAR_H
50
51
#ifndef _RWSTD_NO_WCTYPE_H
52
# include <
wctype.h
>
53
#endif
54
55
#include <
stdio.h
>
56
57
int
main
()
58
{
59
printf
(
"#define _RWSTD_MBSTATE_T_SIZE %u\n"
,
sizeof
(mbstate_t));
60
}
printf
IMPORT_C SInt32 printf(const Char *,...)
main
int main()
Definition
MBSTATE_T.cpp:57
stdio.h
wchar.h
wctype.h
Generated by
1.9.8