include/SDL_atomic.h
changeset 6978 e851407e9294
parent 6923 d3b709232670
child 7004 18d4df6942c2
     1.1 --- a/include/SDL_atomic.h	Thu Mar 07 20:12:40 2013 -0800
     1.2 +++ b/include/SDL_atomic.h	Thu Mar 07 20:42:55 2013 -0800
     1.3 @@ -196,9 +196,8 @@
     1.4   * \note If you don't know what this function is for, you shouldn't use it!
     1.5  */
     1.6  #ifndef SDL_AtomicCAS
     1.7 -#define SDL_AtomicCAS SDL_AtomicCAS_
     1.8 +extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
     1.9  #endif
    1.10 -extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS_(SDL_atomic_t *a, int oldval, int newval);
    1.11  
    1.12  /**
    1.13   * \brief Set an atomic variable to a value.
    1.14 @@ -271,9 +270,8 @@
    1.15   * \note If you don't know what this function is for, you shouldn't use it!
    1.16  */
    1.17  #ifndef SDL_AtomicCASPtr
    1.18 -#define SDL_AtomicCASPtr SDL_AtomicCASPtr_
    1.19 +extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void* *a, void *oldval, void *newval);
    1.20  #endif
    1.21 -extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr_(void* *a, void *oldval, void *newval);
    1.22  
    1.23  /**
    1.24   * \brief Set a pointer to a value atomically.