utils: prevent multiple inclusion of `.def` files

This commit is contained in:
Ivan Tatarinov 2021-04-24 21:07:02 +03:00
parent ba1d1395b3
commit 18d98aaac5
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,9 @@
; Compatible compilers:
; SJAsmPlus, <https://github.com/sjasmplus/sjasmplus/>
ifndef esxdos_def_included
define esxdos_def_included
define FA_READ 0x01
define FA_WRITE 0x02
define FA_OPEN_AL 0x08
@ -21,3 +24,5 @@
rst $08
defb dato
endm
endif ; !esxdos_def_included

View File

@ -7,6 +7,9 @@
; Compatible compilers:
; SJAsmPlus, <https://github.com/sjasmplus/sjasmplus/>
ifndef zxuno_def_included
define zxuno_def_included
define zxuno_port $fc3b
define master_conf 0
define master_mapper 1
@ -44,3 +47,5 @@
call rst28
defb dir, dato
endm
endif ; !zxuno_def_included