diff packages/hal/v85x/arch/current/include/hal_arch.h @ 130:eb9fd8c04db3 ecos-sw-2000-10-23

Merge from eCos master repository on 2000-10-23-17:01:37-BST
author jlarmour
date Mon, 23 Oct 2000 17:10:57 +0000
parents c37d3a9e1b28
children b939e9cada46
line wrap: on
line diff
--- a/packages/hal/v85x/arch/current/include/hal_arch.h
+++ b/packages/hal/v85x/arch/current/include/hal_arch.h
@@ -196,7 +196,9 @@ typedef struct {
     cyg_uint32 lp;
 } hal_jmp_buf_t;
 
-typedef cyg_uint32 hal_jmp_buf[sizeof(hal_jmp_buf_t) / sizeof(cyg_uint32)];
+#define CYGARC_JMP_BUF_SIZE      (sizeof(hal_jmp_buf_t) / sizeof(cyg_uint32))
+
+typedef cyg_uint32 hal_jmp_buf[ CYGARC_JMP_BUF_SIZE ];
 
 externC int hal_setjmp(hal_jmp_buf env);
 externC void hal_longjmp(hal_jmp_buf env, int val);