1421 |
|
|
1422 |
/* ===================== Special Function Definitions ===================== */ |
/* ===================== Special Function Definitions ===================== */ |
1423 |
|
|
1424 |
/* If Visual C++ 6.0 */ |
/* |
1425 |
#if _MSC_VER == 1200 |
Microsoft defines "mbinit" in <wchar.h> for C++ code only. |
1426 |
static inline int mbsinit( const void * arg ) { return 1; } |
|
1427 |
|
Expect link errors for versions: |
1428 |
|
|
1429 |
|
earlier than Visual C++ 5.0 |
1430 |
|
|
1431 |
|
later than Visual C++ .NET 2003 |
1432 |
|
|
1433 |
|
and Visual C++ .NET is just a guess which might be wrong. |
1434 |
|
*/ |
1435 |
|
|
1436 |
|
#if _MSC_VER >= 1100 && _MSC_VER <= 1200 |
1437 |
|
|
1438 |
|
/* If within Visual C++ 5.0 to Visual C++ 6.0 */ |
1439 |
|
|
1440 |
|
inline int mbsinit (const void * arg) |
1441 |
|
{ return 1; } |
1442 |
|
|
1443 |
|
#elif _MSC_VER >= 1300 && _MSC_VER <= 1310 |
1444 |
|
|
1445 |
|
/* If within Visual C++ .NET to Visual C++ .NET 2003 */ |
1446 |
|
|
1447 |
|
inline int mbsinit (const int * arg) |
1448 |
|
{ return arg == NULL || ! *arg; } |
1449 |
|
|
1450 |
#endif |
#endif |
1451 |
|
|
1452 |
/* =========================== End Of This File =========================== */ |
/* =========================== End Of This File =========================== */ |