From b48e01a24e16084c1a4105eb094c445ec51bb461 Mon Sep 17 00:00:00 2001 From: Josh MacDonald Date: Tue, 28 Oct 2014 22:22:36 -0700 Subject: Added 64-bit checksum for largewindow support; not ready --- xdelta3/testing/test.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'xdelta3/testing/test.h') 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" { #define CHECK_OP(x,y,OP) \ do { \ - typeof(x) _x(x); \ - typeof(x) _y(y); \ + __typeof__(x) _x(x); \ + __typeof__(x) _y(y); \ if (!(_x OP _y)) { \ cerr << __FILE__ << ":" << __LINE__ << " Check failed: " << #x " " #OP " " #y << endl; \ cerr << __FILE__ << ":" << __LINE__ << " Expected: " << _x << endl; \ @@ -68,5 +68,3 @@ pair make_pair(const T& t, const U& u) { using std::min; using std::max; - - -- cgit v1.2.3