mirror of
https://github.com/cc65/cc65.git
synced 2024-06-11 05:29:33 +00:00
758d9466c0
The old name could be non-conforming to the C standard. The new name is definitely in the "implementation name space". See issue #1796.
23 lines
369 B
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);
|
|
}
|
|
}
|