. split up lib.h/.cpp, include the remnants from PCH, remove (pretty much universal) include of it.

. timer, config: fix definition of ALLOW_RDTSC
. add movsx_be64 (for whirlpool), revise implementation, move to
byte_order, add test
. MAX -> std::max, remove those macros
. add timestamp to system_info as requested by philip

This was SVN commit r5050.
This commit is contained in:
janwas
2007-05-09 21:01:11 +00:00
parent 78d950e419
commit a34b759720
123 changed files with 1163 additions and 1033 deletions
+1 -2
View File
@@ -14,7 +14,6 @@
#include <string.h>
#include <errno.h>
#include "lib.h"
#include "posix/posix_types.h" // SIZE_MAX
// we were included from wstring_s.cpp; skip all stuff that
@@ -127,7 +126,7 @@ int tncpy_s(tchar* dst, size_t max_dst_chars, const tchar* src, size_t max_src_c
// optimized for size (less comparisons than MS impl) and
// speed (due to well-predicted jumps; we don't bother unrolling).
tchar* p = dst;
size_t chars_left = MIN(max_dst_chars, max_src_chars);
size_t chars_left = std::min(max_dst_chars, max_src_chars);
while(chars_left != 0)
{
// success: reached end of string normally.