diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-11 21:01:02 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-11 21:01:02 +0000 |
commit | 0954d0d9e242b4bc122eeaefb8825cc8f8eb3ab5 (patch) | |
tree | d4b52e90807872daee359220a7f1518a9eca4cbc /osdep.h | |
parent | db4a4ea4eee11c41aae835012ddd9559a055f4ce (diff) |
Remove blank elements in tcg_target_reg_alloc_order[] (Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4039 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r-- | osdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,10 @@ #define MAX(a, b) (((a) > (b)) ? (a) : (b)) #endif +#ifndef ARRAY_SIZE +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) +#endif + #ifndef always_inline #if (__GNUC__ < 3) || defined(__APPLE__) #define always_inline inline |