From 34a26290dbeb2eae0580f08a6d54deb901a609f3 Mon Sep 17 00:00:00 2001 From: deadwood Date: Tue, 26 Aug 2014 20:00:15 +0000 Subject: [PATCH] test/sdi: make the global variable SysBase available under AROS Otherwise the exec_autoinit code will be pulled in which requires the INIT set. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49541 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- test/sdi/examples/libraries/example_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sdi/examples/libraries/example_lib.c b/test/sdi/examples/libraries/example_lib.c index 7604706ca0..7aac55660f 100644 --- a/test/sdi/examples/libraries/example_lib.c +++ b/test/sdi/examples/libraries/example_lib.c @@ -56,7 +56,7 @@ static const char UserLibName[] = "example.library"; static const char UserLibID[] = "\0$VER: example.library 1.4 25.08.2014)"; -#if defined(__MORPHOS__) +#if defined(__MORPHOS__) || defined(__AROS__) struct ExecBase *SysBase; #endif -- 2.11.4.GIT