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

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

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

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

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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