summaryrefslogtreecommitdiff
path: root/tests/Gia64-test-nat.c
diff options
context:
space:
mode:
authorhp.com!davidm <hp.com!davidm>2005-05-20 09:48:08 +0000
committerhp.com!davidm <hp.com!davidm>2005-05-20 09:48:08 +0000
commitd3d722fb0a1435b2335ab30b26b1fedef5a265c5 (patch)
tree308a69b4b933c993a93338ebdc0d91e416add2a4 /tests/Gia64-test-nat.c
parent32385d36fdb2b388363730b48c17dda0cab704bd (diff)
downloadlibunwind-d3d722fb0a1435b2335ab30b26b1fedef5a265c5.tar.gz
Include "tdep-ia64/rse.h" instead of "ia64/rse.h".
(ARRAY_SIZE): New macro. (Logical change 1.294)
Diffstat (limited to 'tests/Gia64-test-nat.c')
-rw-r--r--tests/Gia64-test-nat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Gia64-test-nat.c b/tests/Gia64-test-nat.c
index 61190aa9..1e9e939e 100644
--- a/tests/Gia64-test-nat.c
+++ b/tests/Gia64-test-nat.c
@@ -36,7 +36,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
# include <sys/uc_access.h>
#endif
-#include "ia64/rse.h"
+#include "tdep-ia64/rse.h"
+
+#define ARRAY_SIZE(a) ((int) (sizeof (a) / sizeof ((a)[0])))
#define NUM_RUNS 1024
//#define NUM_RUNS 1