]> git.sur5r.net Git - cc65/commitdiff
new _poserror function
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 25 Apr 2003 16:43:22 +0000 (16:43 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 25 Apr 2003 16:43:22 +0000 (16:43 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2073 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/common/.cvsignore
libsrc/geos/common/_poserror.c [new file with mode: 0644]

index 39b634ce5811c3799222595f452d04288463fd82..157cf12d4054e191627d3e871e0efe116e43d100 100644 (file)
@@ -1,3 +1,4 @@
 _afailed.s
+_poserror.s
 abort.s
 perror.s
diff --git a/libsrc/geos/common/_poserror.c b/libsrc/geos/common/_poserror.c
new file mode 100644 (file)
index 0000000..80f9eda
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * _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)
+{
+
+    DlgBoxOk(msg,_stroserror(_oserror));
+
+}