X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=c_auto.h;h=31e89e19b3af75ead206e5c1df491d0efd49c213;hb=c8fb3694c071ffe819509e01292b2a1520a70017;hp=5e4564bb86222321bae479d547596938b40b01a7;hpb=04abc5d640b0c379928b434a9c0df83d5f650788;p=ia32rtools.git diff --git a/c_auto.h b/c_auto.h index 5e4564b..31e89e1 100644 --- a/c_auto.h +++ b/c_auto.h @@ -39,13 +39,12 @@ typedef struct { #define noreturn __attribute__((noreturn)) -#ifdef __WINE__ -#define PCVOID LPCVOID -#define __VALIST __ms_va_list -#endif - 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