/[cvs]/ccvs/windows-NT/config.h
ViewVC logotype

Diff of /ccvs/windows-NT/config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.167 by conradpino, Sun Sep 25 19:11:27 2005 UTC revision 1.168 by conradpino, Mon Sep 26 20:25:18 2005 UTC
# Line 1421  int wnt_stat (const char *file, struct w Line 1421  int wnt_stat (const char *file, struct w
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 =========================== */

Legend:
Removed from v.1.167  
changed lines
  Added in v.1.168

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26