1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/SDL/gcc-3.4.patch

38 lines
903 B
Diff
Raw Normal View History

diff -rc SDL-orig/src/cpuinfo/SDL_cpuinfo.c SDL-1.2.7/src/cpuinfo/SDL_cpuinfo.c
*** SDL-orig/src/cpuinfo/SDL_cpuinfo.c 2004-02-10 16:31:35.000000000 +0100
--- SDL-1.2.7/src/cpuinfo/SDL_cpuinfo.c 2004-09-26 18:49:50.000000000 +0200
***************
*** 118,124 ****
" movl %%edi,%%ebx\n"
: "=m" (features)
:
! : "%eax", "%ebx", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {
--- 118,124 ----
" movl %%edi,%%ebx\n"
: "=m" (features)
:
! : "%eax", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {
***************
*** 153,159 ****
" movl %%edi,%%ebx\n"
: "=m" (features)
:
! : "%eax", "%ebx", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {
--- 153,159 ----
" movl %%edi,%%ebx\n"
: "=m" (features)
:
! : "%eax", "%ecx", "%edx", "%edi"
);
#elif defined(_MSC_VER)
__asm {