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/Wcstombspull/107/head
parent
9fca0c2802
commit
355a2f357d
3
misc.h
3
misc.h
|
|
@ -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
|
//! \file misc.h
|
||||||
//! \brief Utility functions for the Crypto++ library.
|
//! \brief Utility functions for the Crypto++ library.
|
||||||
|
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
#ifdef __BORLANDC__
|
#ifdef __BORLANDC__
|
||||||
#include <mem.h>
|
#include <mem.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(__linux__)
|
#if defined(__GNUC__) && defined(__linux__)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue