azan

prayers time calculator written in nasm
git clone git://git.afify.dev/azan
Log | Files | Refs | README | LICENSE

commit 333f337f86be12ea2b88becf6cc0c09185b59591
parent 7ac4531dbfa5c1733aaca52b202767810da9b6e8
Author: afify <hassan@afify.dev>
Date:   Wed,  4 Nov 2020 03:08:24 +0300

[fix] elifdef OpenBSD syscall macros, SYS_write

- fix typo elifdef instead of elif
- replace 1 with SYS_write

Diffstat:
Mazan-nasm.s | 2+-
Msyscalls.s | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/azan-nasm.s b/azan-nasm.s @@ -52,7 +52,7 @@ _printRAXLoop: _printRAXLoop2: mov rcx, [digitSpacePos] - mov rax, 1 + mov rax, SYS_write mov rdi, 1 mov rsi, rcx mov rdx, 1 diff --git a/syscalls.s b/syscalls.s @@ -7,7 +7,7 @@ %define SYS_exit 60 %define SYS_write 1 %define SYS_gettimeofday 96 -%elif OpenBSD +%elifdef OpenBSD %define SYS_exit 1 %define SYS_write 4 %define SYS_gettimeofday 67