1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00
cc65/libsrc/geos-common/common/_poserror.c

23 lines
369 B
C

/*
** _poserror.c
**
** Maciej 'YTM/Elysium' Witkowiak, 25.04.2003
*/
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <geos.h>
void __fastcall__ __poserror (const char* msg)
{
const char *errmsg = __stroserror(_oserror);
ExitTurbo();
if (msg && *msg) {
DlgBoxOk(msg, errmsg);
} else {
DlgBoxOk("", errmsg);
}
}