To use wcstombs with C++Builder we need to include stdlib.h

wcstombs was supported in C++Builder 2010 : http://docwiki.embarcadero.com/RADStudio/2010/en/Wcstombs
pull/107/head
Crayon2000 2016-01-08 17:50:30 -05:00
parent 9fca0c2802
commit 355a2f357d
1 changed files with 2 additions and 1 deletions

3
misc.h
View File

@ -1,4 +1,4 @@
// misc.h - written and placed in the public domain by Wei Dai
// misc.h - written and placed in the public domain by Wei Dai
//! \file misc.h
//! \brief Utility functions for the Crypto++ library.
@ -51,6 +51,7 @@
#ifdef __BORLANDC__
#include <mem.h>
#include <stdlib.h>
#endif
#if defined(__GNUC__) && defined(__linux__)