mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
a53a821ec3
commit
31606866f1
1 changed files with 26 additions and 0 deletions
|
@ -5,6 +5,30 @@
|
|||
; This file has been modified from Ken Silverman's original release
|
||||
; 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
|
||||
|
||||
SECTION .text
|
||||
|
@ -2894,3 +2918,5 @@ pentiumpro:
|
|||
ret
|
||||
|
||||
dep_end:
|
||||
|
||||
%endif
|
||||
|
|
Loading…
Reference in a new issue