# HG changeset patch # User Tassilo Philipp # Date 1611246422 -3600 # Node ID 11483966a3ee683774f02d34e403dcf06e57f160 # Parent 2c2b51819aad0d11ecae38d8d0c289402725d187 - excluding syscall stuff from callf test for beos/haiku diff -r 2c2b51819aad -r 11483966a3ee test/callf/main.c --- a/test/callf/main.c Thu Jan 21 17:15:35 2021 +0100 +++ b/test/callf/main.c Thu Jan 21 17:27:02 2021 +0100 @@ -6,7 +6,7 @@ Description: License: - Copyright (c) 2007-2020 Daniel Adler , + Copyright (c) 2007-2021 Daniel Adler , Tassilo Philipp Permission to use, copy, modify, and distribute this software for any @@ -32,7 +32,7 @@ #include "../common/platformInit.c" /* Impl. for functions only used in this translation unit */ #include -#if defined(DC_UNIX) +#if defined(DC_UNIX) && !defined(DC__OS_BeOS) #include #endif @@ -134,7 +134,7 @@ dcArgF(vm, "ffiffiffi", 1.f, 2.f, 3, 4.f, 5.f, 6, 7.f, 8.f, 9); r = r && dcCallInt(vm, (void*)&vf_ffiffiffi); -#if defined(DC_UNIX) && !defined(DC__OS_MacOSX) && !defined(DC__OS_SunOS) +#if defined(DC_UNIX) && !defined(DC__OS_MacOSX) && !defined(DC__OS_SunOS) && !defined(DC__OS_BeOS) /* testing syscall using calling convention prefix - not available on all platforms */ dcReset(vm); printf("\ncallf _$iZi)i");