From 97d9e45e06b565a9a0b25914b3e65c66183d57a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szil=C3=A1rd=20Bir=C3=B3?=
Date: Wed, 24 May 2023 07:36:36 +0200
Subject: [PATCH 1/3] changed the vbcc macro libbase to void *
---
MacroVBCC68k.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MacroVBCC68k.pl b/MacroVBCC68k.pl
index c97b701..9cff3a6 100644
--- a/MacroVBCC68k.pl
+++ b/MacroVBCC68k.pl
@@ -22,7 +22,7 @@ BEGIN
my $regswap = "";
- my $function_start = $$prototype{'return'} ." __" . $$prototype{'funcname'} . "(__reg(\"a6\") struct Library * ";
+ my $function_start = $$prototype{'return'} ." __" . $$prototype{'funcname'} . "(__reg(\"a6\") void * ";
my $function = $function_start;
if ($$prototype{private})
From 58199d1b0532b70cbdd9055a8a50e5e20a43a618 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szil=C3=A1rd=20Bir=C3=B3?=
Date: Wed, 24 May 2023 08:19:43 +0200
Subject: [PATCH 2/3] include the vbcc inlines in the proto file
---
Proto.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Proto.pl b/Proto.pl
index 5507767..4f98f5a 100644
--- a/Proto.pl
+++ b/Proto.pl
@@ -38,6 +38,8 @@ BEGIN
print "# else\n";
print "# include \n";
print "# endif\n";
+ print "# #elif defined(__VBCC__)\n";
+ print "# include \n";
print "# else\n";
print "# include \n";
print "# endif\n";
From a4961da382f67c4424a4b91aa9a5ce9cca0f9ce4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szil=C3=A1rd=20Bir=C3=B3?=
Date: Wed, 24 May 2023 08:22:15 +0200
Subject: [PATCH 3/3] fixed a typo in Proto.pl
---
Proto.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Proto.pl b/Proto.pl
index 4f98f5a..9113bc3 100644
--- a/Proto.pl
+++ b/Proto.pl
@@ -38,7 +38,7 @@ BEGIN
print "# else\n";
print "# include \n";
print "# endif\n";
- print "# #elif defined(__VBCC__)\n";
+ print "# elif defined(__VBCC__)\n";
print "# include \n";
print "# else\n";
print "# include \n";