bdf2sfd

BDF to SFD converter, allowing to vectorize bitmap fonts
Log | Files | Refs | README | LICENSE

commit 5023e33c4d27e44dfa9001d223b2ee12df5a0e84
parent 1745a5ff22cdc2bd243aef316d9f44b0abd36dd5
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 25 Jun 2020 15:07:44 +0200

Use __NR_ instead of SYS_ prefix in #if defined checks.

Diffstat:
Msrc/seccomp.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/seccomp.h b/src/seccomp.h @@ -4,7 +4,7 @@ * https://github.com/fcambus/bdf2sfd * * Created: 2019-11-21 - * Last Updated: 2020-06-24 + * Last Updated: 2020-06-25 * * bdf2sfd is released under the BSD 2-Clause license * See LICENSE file for details @@ -49,12 +49,12 @@ static struct sock_filter filter[] = { BDF2SFD_SYSCALL_ALLOW(close), BDF2SFD_SYSCALL_ALLOW(exit_group), BDF2SFD_SYSCALL_ALLOW(fstat), -#if defined(SYS_fstat64) +#if defined(__NR_fstat64) BDF2SFD_SYSCALL_ALLOW(fstat64), /* i386 glibc */ #endif BDF2SFD_SYSCALL_ALLOW(gettimeofday), /* i386 glibc */ BDF2SFD_SYSCALL_ALLOW(ioctl), -#if defined(SYS_open) +#if defined(__NR_open) BDF2SFD_SYSCALL_ALLOW(open), #endif BDF2SFD_SYSCALL_ALLOW(openat),