Browse Source

x86inc: fully concatenate tokens to fix macro expansion for nasm

Fixes build errors with nasm introduced in 6f40e9f070 for stack
memory alignment. Noticed by BugMaster.
tags/n1.1
Janne Grunau 12 years ago
parent
commit
0995ad8db4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavutil/x86/x86inc.asm

+ 2
- 2
libavutil/x86/x86inc.asm View File

@@ -153,10 +153,10 @@ CPUNOP amdnop
%define r%1mp %2
%elif ARCH_X86_64 ; memory
%define r%1m [rstk + stack_offset + %3]
%define r%1mp qword r %+ %1m
%define r%1mp qword r %+ %1 %+ m
%else
%define r%1m [rstk + stack_offset + %3]
%define r%1mp dword r %+ %1m
%define r%1mp dword r %+ %1 %+ m
%endif
%define r%1 %2
%endmacro


Loading…
Cancel
Save