]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pthread.c
Add MPL2 subtitles demuxer and decoder.
[ffmpeg] / libavcodec / pthread.c
index ed6f0e1171564355398505e7ca295efb1c92499b..b55cccf2000198adfd365e8643bd2c2748ea001a 100644 (file)
@@ -32,7 +32,9 @@
 #include "config.h"
 
 #if HAVE_SCHED_GETAFFINITY
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
 #include <sched.h>
 #endif
 #if HAVE_GETPROCESSAFFINITYMASK