From c31b96b11bb3d431f0f5dd691c774db1a6fdebc2 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Fri, 8 Jan 2016 17:50:30 -0500 Subject: [PATCH 1/2] 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 --- misc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc.h b/misc.h index f7dc8165..090b2972 100644 --- a/misc.h +++ b/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 //! \brief Utility functions for the Crypto++ library. @@ -51,6 +51,7 @@ #ifdef __BORLANDC__ #include +#include #endif #if defined(__GNUC__) && defined(__linux__) From 0d483f30923a6b72cd183cb67850cb22b8c1c12e Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Mon, 11 Jan 2016 23:32:35 -0500 Subject: [PATCH 2/2] Reverted file format to UTF-8 (No BOM) Format was changed in my last commit. --- misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.h b/misc.h index 090b2972..2f165e3e 100644 --- a/misc.h +++ b/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 //! \brief Utility functions for the Crypto++ library.