diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2014-11-20 12:19:47 -0800 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-11-20 12:22:06 -0800 |
commit | 2c5af590ddbb08e0a46b7e37c5f0230b1805cd37 (patch) | |
tree | 8a44d28184791a443ecb10d980fcb71cb2c779ac /perf/cairo-perf.h | |
parent | 7edc5a8844b96862b866901568eb83fa56f4755b (diff) | |
download | cairo-2c5af590ddbb08e0a46b7e37c5f0230b1805cd37.tar.gz |
Refactor ARRAY_LENGTH macro definitions in test code
Diffstat (limited to 'perf/cairo-perf.h')
-rw-r--r-- | perf/cairo-perf.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/perf/cairo-perf.h b/perf/cairo-perf.h index b32b0e0ff..eb53d13c2 100644 --- a/perf/cairo-perf.h +++ b/perf/cairo-perf.h @@ -203,10 +203,6 @@ test_report_cmp_name (const void *a, #define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif -#ifndef ARRAY_LENGTH -#define ARRAY_LENGTH(__array) ((int) (sizeof (__array) / sizeof (__array[0]))) -#endif - CAIRO_PERF_DECL (fill); CAIRO_PERF_DECL (paint); CAIRO_PERF_DECL (paint_with_alpha); |