azan

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

syscalls.s (524B)


      1 ; See LICENSE file for copyright and license details.
      2 
      3 %ifndef SYSCALLS_S
      4 %define SYSCALLS_S
      5 
      6 %ifdef Linux
      7 	%define SYS_exit 60
      8 	%define SYS_write 1
      9 	%define SYS_gettimeofday 96
     10 %elifdef OpenBSD
     11 	%define SYS_exit 1
     12 	%define SYS_write 4
     13 	%define SYS_gettimeofday 67
     14 	%define SYS_pledge 108
     15 %elifdef FreeBSD
     16 	%define SYS_exit 1
     17 	%define SYS_write 4
     18 	%define SYS_gettimeofday 116
     19 %elifdef NetBSD
     20 	%define SYS_exit 1
     21 	%define SYS_write 4
     22 	%define SYS_gettimeofday 116
     23 %else
     24 	%fatal "OS not supported"
     25 %endif
     26 
     27 %endif ;SYSCALLS_S