Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix SDL_TryLockMutex compile error when FAKE_RECURSIVE_MUTEX is defined

  • Loading branch information
ferzkopp committed Mar 9, 2013
1 parent 0d506d8 commit 0331d98ae7752893dac11e53b2d29dd38dcd2634
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/thread/pthread/SDL_sysmutex.c
@@ -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.

0 comments on commit 0331d98

Please sign in to comment.