Fix crash and latest update.
This commit is contained in:
@@ -255,7 +255,9 @@ DECLARE_COMPARISONS(char, char)
|
||||
DECLARE_COMPARISONS(unsigned char, uchar)
|
||||
DECLARE_COMPARISONS(long, long)
|
||||
DECLARE_COMPARISONS(unsigned long, ulong)
|
||||
DECLARE_COMPARISONS(double, double)
|
||||
DECLARE_COMPARISONS(time_t, time_t)
|
||||
|
||||
/*
|
||||
* Because this comparison uses a printf format specifier that's not
|
||||
* universally known (yet), we provide an option to not have it declared.
|
||||
@@ -406,6 +408,13 @@ void test_perror(const char *s);
|
||||
# define TEST_size_t_gt(a, b) test_size_t_gt(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_size_t_ge(a, b) test_size_t_ge(__FILE__, __LINE__, #a, #b, a, b)
|
||||
|
||||
# define TEST_double_eq(a, b) test_double_eq(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_double_ne(a, b) test_double_ne(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_double_lt(a, b) test_double_lt(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_double_le(a, b) test_double_le(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_double_gt(a, b) test_double_gt(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_double_ge(a, b) test_double_ge(__FILE__, __LINE__, #a, #b, a, b)
|
||||
|
||||
# define TEST_time_t_eq(a, b) test_time_t_eq(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_time_t_ne(a, b) test_time_t_ne(__FILE__, __LINE__, #a, #b, a, b)
|
||||
# define TEST_time_t_lt(a, b) test_time_t_lt(__FILE__, __LINE__, #a, #b, a, b)
|
||||
|
||||
Reference in New Issue
Block a user