#include #include #include #include #include void __request(const char *msg) { #if __STDC_VERSION__ >= 199901L static struct IntuiText body = { 0, 0, 0, 15, 5, NULL, NULL, NULL }; static struct IntuiText ok = { 0, 0, 0, 6, 3, NULL, (STRPTR) "Ok", NULL }; if (((struct Process *) SysBase->ThisTask)->pr_WindowPtr != (APTR) -1L) { body.IText = (UBYTE *) msg; AutoRequest(0, &body, 0, &ok, 0, 0, 640, 72); } #endif }