Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.h @ 111:b1817e2451b1
add task # to counter stats
| author | Nina Engelhardt |
|---|---|
| date | Fri, 05 Aug 2011 18:03:07 +0200 |
| parents | 724c7a0b687f |
| children | fac1d896f6e9 |
line diff
1.1 --- a/VMS.h Wed Aug 03 17:05:18 2011 +0200 1.2 +++ b/VMS.h Fri Aug 05 18:03:07 2011 +0200 1.3 @@ -434,13 +434,13 @@ 1.4 } \ 1.5 } while (0) 1.6 1.7 -#define getReturnAddressBeforeLibraryCall(vp_ptr, res_ptr) do{ \ 1.8 -void* frame_ptr0 = vp_ptr->framePtr; \ 1.9 +#define getReturnAddressBeforeLibraryCall(vp_ptr, res_ptr) do{ \ 1.10 +void* frame_ptr0 = vp_ptr->framePtr; \ 1.11 void* frame_ptr1 = *((void**)frame_ptr0); \ 1.12 void* frame_ptr2 = *((void**)frame_ptr1); \ 1.13 void* frame_ptr3 = *((void**)frame_ptr2); \ 1.14 -void* ret_addr = *((void**)frame_ptr3 + 1); \ 1.15 -*res_ptr = ret_addr; \ 1.16 +void* ret_addr = *((void**)frame_ptr3 + 1); \ 1.17 +*res_ptr = ret_addr; \ 1.18 } while (0) 1.19 1.20 #define MEAS__SUB_CREATE /*turn on/off subtraction of create from plugin*/
