diff libmpcodecs/dec_teletext.c @ 32901:d5c110e49682

Fix compilation when pthreads are not available.
author reimar
date Mon, 28 Feb 2011 17:51:02 +0000
parents 8fa2f43cb760
children 658f24bbf9b7
line wrap: on
line diff
--- a/libmpcodecs/dec_teletext.c	Mon Feb 28 14:47:17 2011 +0000
+++ b/libmpcodecs/dec_teletext.c	Mon Feb 28 17:51:02 2011 +0000
@@ -88,7 +88,7 @@
 #include <math.h>
 #include <stdio.h>
 
-#ifdef HAVE_PTHREADS
+#if HAVE_PTHREADS
 // pthreads are needed for async updates from v4l(2)
 // FIXME: try to avoid using pthread calls when running only a single
 // thread as e.g. with DVB teletext
@@ -148,7 +148,7 @@
     int pll_fixed;
     /// vbi stream properties (buffer size,bytes per line, etc)
     tt_stream_props* ptsp;
-#ifdef HAVE_PTHREADS
+#if HAVE_PTHREADS
     pthread_mutex_t buffer_mutex;
 #endif