src/atomic/SDL_spinlock.c
changeset 12241 f72836cfb92b
parent 12045 bac108d0cd86
child 12503 806492103856
     1.1 --- a/src/atomic/SDL_spinlock.c	Thu Sep 27 09:37:36 2018 +0300
     1.2 +++ b/src/atomic/SDL_spinlock.c	Thu Sep 27 11:55:02 2018 +0300
     1.3 @@ -40,7 +40,7 @@
     1.4  SDL_COMPILE_TIME_ASSERT(locksize, 4==sizeof(SDL_SpinLock));
     1.5  extern _inline int _SDL_xchg_watcom(volatile int *a, int v);
     1.6  #pragma aux _SDL_xchg_watcom = \
     1.7 -  "xchg [ecx], eax" \
     1.8 +  "lock xchg [ecx], eax" \
     1.9    parm [ecx] [eax] \
    1.10    value [eax] \
    1.11    modify exact [eax];