src/thread/generic/SDL_sysmutex.c
changeset 1361 19418e4422cb
parent 1358 c71e05b4dc2e
child 1402 d910939febfa
--- a/src/thread/generic/SDL_sysmutex.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/thread/generic/SDL_sysmutex.c	Thu Feb 16 10:11:48 2006 +0000
@@ -68,7 +68,7 @@
 /* Lock the semaphore */
 int SDL_mutexP(SDL_mutex *mutex)
 {
-#ifdef DISABLE_THREADS
+#if SDL_THREADS_DISABLED
 	return 0;
 #else
 	Uint32 this_thread;
@@ -92,13 +92,13 @@
 	}
 
 	return 0;
-#endif /* DISABLE_THREADS */
+#endif /* SDL_THREADS_DISABLED */
 }
 
 /* Unlock the mutex */
 int SDL_mutexV(SDL_mutex *mutex)
 {
-#ifdef DISABLE_THREADS
+#if SDL_THREADS_DISABLED
 	return 0;
 #else
 	if ( mutex == NULL ) {
@@ -124,5 +124,5 @@
 		SDL_SemPost(mutex->sem);
 	}
 	return 0;
-#endif /* DISABLE_THREADS */
+#endif /* SDL_THREADS_DISABLED */
 }