Menu

#235 configMS.h missing define for Borland C

Portability
closed-accepted
5
2006-09-22
2006-09-22
Anonymous
No

In configMS.h, there is a define missing for Borland C
(free 5.5 compiler):

#define HAVE_STRCHR
#define HAVE_MEMCPY

#if defined(_MSC_VER)
#pragma warning( disable : 4305 )
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef __int64 int64_t;

should read:

#define HAVE_STRCHR
#define HAVE_MEMCPY

#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma warning( disable : 4305 )
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef __int64 int64_t;

Discussion

  • Alexander Leidinger

    • milestone: --> Portability
    • assigned_to: nobody --> aleidinger
     
  • Alexander Leidinger

    • status: open --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB