1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 04:29:01 +00:00
cc65/libsrc/geos-common/common/perror.c
Greg King 0390c34e88 Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00

23 lines
354 B
C

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