VirtualBox

Changeset 1105 in kBuild for trunk/src/sed/config.h.win


Ignore:
Timestamp:
Sep 23, 2007 4:20:00 AM (17 years ago)
Author:
bird
Message:

64-bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sed/config.h.win

    r813 r1105  
    395395#define true 1
    396396
    397 /* mbsinit isn't defined?!? */
    398397#include <wchar.h>
     398/* mbsinit isn't defined until 2005 / v8.0. */
     399#if _MSC_VER < 1400
    399400int _inline mbsinit(const mbstate_t *_p)
    400401{
    401402    return (_p) == (const mbstate_t *)0 || *(_p) == 0;
    402403}
     404#endif
     405
     406#if _MSC_VER >= 1400
     407/* crtdefs.h contains a typedef int errcode which collides with regcomp.c,
     408   try avoid it. */
     409#define errcode _errcode
     410#endif
    403411
    404412/* mkstemp, getline */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette