1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00
cc65/libsrc/geos/common/_poserror.c
izydorst 56e2c16aa7 making *p*error.c conform to standard (a bit, in a way)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2106 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-01 16:22:53 +00:00

22 lines
337 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);
if (msg && *msg) {
DlgBoxOk(msg, errmsg);
} else {
DlgBoxOk("", errmsg);
}
}