summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2014-11-20 12:19:47 -0800
committerBryce Harrington <bryce@osg.samsung.com>2014-11-20 12:22:06 -0800
commit2c5af590ddbb08e0a46b7e37c5f0230b1805cd37 (patch)
tree8a44d28184791a443ecb10d980fcb71cb2c779ac /test/cairo-test.h
parent7edc5a8844b96862b866901568eb83fa56f4755b (diff)
downloadcairo-2c5af590ddbb08e0a46b7e37c5f0230b1805cd37.tar.gz
Refactor ARRAY_LENGTH macro definitions in test code
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index c753728f0..7e9605f61 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -107,10 +107,6 @@ cairo_test_NaN (void)
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#endif
-#ifndef ARRAY_LENGTH
-#define ARRAY_LENGTH(__array) ((int) (sizeof (__array) / sizeof (__array[0])))
-#endif
-
#define CAIRO_TEST_OUTPUT_DIR "output"
#define CAIRO_TEST_LOG_SUFFIX ".log"