Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix SDL_TryLockMutex compile error when FAKE_RECURSIVE_MUTEX is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ferzkopp committed Mar 9, 2013
1 parent 0d506d8 commit 0331d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/pthread/SDL_sysmutex.c
Expand Up @@ -134,7 +134,7 @@ SDL_TryLockMutex(SDL_mutex * mutex)
retval = 0;
#if FAKE_RECURSIVE_MUTEX
this_thread = pthread_self();
if (mutex->owner == this_thead) {
if (mutex->owner == this_thread) {
++mutex->recursive;
} else {
/* The order of operations is important.
Expand Down

0 comments on commit 0331d98

Please sign in to comment.