• Sam Lantinga's avatar
    Date: Mon, 10 Nov 2003 19:57:56 +0100 · ccba9fd0
    Sam Lantinga authored
    From: Stephane Marchesin <stephane.marchesin@wanadoo.fr>
    Subject: [SDL] SDL and gcc >= 3.3.1 fix
    
    Lately, I upgraded my gcc compiler and could trigger the error described
    in this thread :
    http://www.libsdl.org/pipermail/sdl/2003-September/056163.html
    
    SDL_RLEaccel.c: In function `RLEClipBlit':
    SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
    SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
    SDL_RLEaccel.c:845: error: invalid `asm': invalid expression as operand
    
    
    The attached patch fixes this issue, and is smaller than the previous
    one, as I was able to trigger the issue, so I could narrow it.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40739
    ccba9fd0
mmx.h 21.2 KB