Renamed the old geos target to geos-cbm.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5343 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
22
libsrc/geos-cbm/common/_poserror.c
Normal file
22
libsrc/geos-cbm/common/_poserror.c
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* _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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user