X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=c_auto.h;h=31e89e19b3af75ead206e5c1df491d0efd49c213;hb=ea43585b82e86b5c393ead41963ba6c2eca157c7;hp=d76e59611f8594dcbdb0627641fe913e8b81ad97;hpb=09fe1097c643350b0dc62a66823682b285fd2ae4;p=ia32rtools.git diff --git a/c_auto.h b/c_auto.h index d76e596..31e89e1 100644 --- a/c_auto.h +++ b/c_auto.h @@ -44,3 +44,7 @@ static inline BOOL PtInRect_sa(LPCRECT r, int x, int y) POINT p = { x, y }; return PtInRect(r, p); } + +#define do_skip_code_abort() \ + printf("%s:%d: skip_code_abort\n", __FILE__, __LINE__); \ + *(volatile int *)0 = 1