Mercurial > pub > dyncall > dyncall
changeset 608:b1f2b574d772
- test/syscall: minix include fix
author | Tassilo Philipp |
---|---|
date | Tue, 27 Sep 2022 15:34:45 +0200 |
parents | 9d0eefb0e0f0 |
children | f2f0e53d8b02 |
files | test/callf/main.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/callf/main.c Thu Sep 22 23:15:51 2022 +0200 +++ b/test/callf/main.c Tue Sep 27 15:34:45 2022 +0200 @@ -32,8 +32,10 @@ #include "../common/platformInit.c" /* Impl. for functions only used in this translation unit */ #include <stdarg.h> -#if defined(DC_UNIX) && !defined(DC__OS_BeOS) -#include <sys/syscall.h> +#if defined(DC__Feature_Syscall) +# if defined(DC_UNIX) && !defined(DC__OS_BeOS) && !defined(DC__OS_Minix) +# include <sys/syscall.h> +# endif #endif