Add some preprocessor checks on the output format to the asm.

git-svn-id: https://svn.eduke32.com/eduke32@5767 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-06-05 04:46:06 +00:00
parent a53a821ec3
commit 31606866f1

View file

@ -5,6 +5,30 @@
; This file has been modified from Ken Silverman's original release ; This file has been modified from Ken Silverman's original release
; by Jonathon Fowler (jf@jonof.id.au) ; by Jonathon Fowler (jf@jonof.id.au)
%ifidn __OUTPUT_FORMAT__, x64
%define ASM_x86_64
%elifidn __OUTPUT_FORMAT__, win64
%define ASM_x86_64
%elifidn __OUTPUT_FORMAT__, elf64
%define ASM_x86_64
%elifidn __OUTPUT_FORMAT__, macho64
%define ASM_x86_64
%elifidn __OUTPUT_FORMAT__, win32
%define ASM_x86
%elifidn __OUTPUT_FORMAT__, elf32
%define ASM_x86
%elifidn __OUTPUT_FORMAT__, macho32
%define ASM_x86
%elifidn __OUTPUT_FORMAT__, win
%define ASM_x86
%elifidn __OUTPUT_FORMAT__, elf
%define ASM_x86
%elifidn __OUTPUT_FORMAT__, macho
%define ASM_x86
%endif
%ifdef ASM_x86
;CPU 586 ;CPU 586
SECTION .text SECTION .text
@ -2894,3 +2918,5 @@ pentiumpro:
ret ret
dep_end: dep_end:
%endif