mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 08:43:28 +00:00
4efda499f7
Jerome Gardou: - Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode. - Link some c++ executables to it - sol.exe : one step towards a complete and modern OS. - Dedicated to Amine for his patience and his help. - Might Break Things! (tm) svn path=/branches/cmake-bringup/; revision=49046
19 lines
304 B
C++
19 lines
304 B
C++
#ifndef STLP_DIGITS_H
|
|
#define STLP_DIGITS_H
|
|
|
|
#include <string>
|
|
|
|
inline void
|
|
#if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
|
|
complete_digits(std::string &digits)
|
|
#else
|
|
complete_digits(string &digits)
|
|
#endif
|
|
{
|
|
while (digits.size() < 2)
|
|
{
|
|
digits.insert(digits.begin(), '0');
|
|
}
|
|
}
|
|
|
|
#endif
|