diff options
author | Josh MacDonald <josh.macdonald@gmail.com> | 2014-10-28 22:22:36 -0700 |
---|---|---|
committer | Josh MacDonald <josh.macdonald@gmail.com> | 2014-10-28 22:22:36 -0700 |
commit | b48e01a24e16084c1a4105eb094c445ec51bb461 (patch) | |
tree | 50439719a0d679293118358938f31a2ed131efc2 /xdelta3/testing/test.h | |
parent | 496dc7140e18747d00be720978202915d68ded99 (diff) |
Added 64-bit checksum for largewindow support; not ready
Diffstat (limited to 'xdelta3/testing/test.h')
-rw-r--r-- | xdelta3/testing/test.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xdelta3/testing/test.h b/xdelta3/testing/test.h index d1f1a22..30d13a3 100644 --- a/xdelta3/testing/test.h +++ b/xdelta3/testing/test.h | |||
@@ -18,8 +18,8 @@ extern "C" { | |||
18 | 18 | ||
19 | #define CHECK_OP(x,y,OP) \ | 19 | #define CHECK_OP(x,y,OP) \ |
20 | do { \ | 20 | do { \ |
21 | typeof(x) _x(x); \ | 21 | __typeof__(x) _x(x); \ |
22 | typeof(x) _y(y); \ | 22 | __typeof__(x) _y(y); \ |
23 | if (!(_x OP _y)) { \ | 23 | if (!(_x OP _y)) { \ |
24 | cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x " " #OP " " #y << endl; \ | 24 | cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x " " #OP " " #y << endl; \ |
25 | cerr << __FILE__ << ":" << __LINE__ << " Expected: " << _x << endl; \ | 25 | cerr << __FILE__ << ":" << __LINE__ << " Expected: " << _x << endl; \ |
@@ -68,5 +68,3 @@ pair<T, U> make_pair(const T& t, const U& u) { | |||
68 | 68 | ||
69 | using std::min; | 69 | using std::min; |
70 | using std::max; | 70 | using std::max; |
71 | |||
72 | |||