155 |
|
|
156 |
/* ===================== Special Function Definitions ===================== */ |
/* ===================== Special Function Definitions ===================== */ |
157 |
|
|
158 |
/* If Visual C++ 6.0 */ |
/* |
159 |
#if _MSC_VER == 1200 |
Microsoft defines "mbinit" in <wchar.h> for C++ code only. |
160 |
static inline int mbsinit( const void * arg ) { return 1; } |
|
161 |
|
Expect link errors for versions: |
162 |
|
|
163 |
|
earlier than Visual C++ 5.0 |
164 |
|
|
165 |
|
later than Visual C++ .NET 2003 |
166 |
|
|
167 |
|
and Visual C++ .NET is just a guess which might be wrong. |
168 |
|
*/ |
169 |
|
|
170 |
|
#if _MSC_VER >= 1100 && _MSC_VER <= 1200 |
171 |
|
|
172 |
|
/* If within Visual C++ 5.0 to Visual C++ 6.0 */ |
173 |
|
|
174 |
|
inline int mbsinit (const void * arg) |
175 |
|
{ return 1; } |
176 |
|
|
177 |
|
#elif _MSC_VER >= 1300 && _MSC_VER <= 1310 |
178 |
|
|
179 |
|
/* If within Visual C++ .NET to Visual C++ .NET 2003 */ |
180 |
|
|
181 |
|
inline int mbsinit (const int * arg) |
182 |
|
{ return arg == NULL || ! *arg; } |
183 |
|
|
184 |
#endif |
#endif |
185 |
|
|
186 |
/* =========================== End Of This File =========================== */ |
/* =========================== End Of This File =========================== */ |