Browse code

doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41

A cleaner fix is very welcome

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/11/25 11:56:57
Showing 1 changed files
... ...
@@ -26,6 +26,10 @@
26 26
 #include <string.h>
27 27
 #include <float.h>
28 28
 
29
+// print_options is build for the host, os_support.h isnt needed and is setup
30
+// for the target. without this build breaks on mingw
31
+#define AVFORMAT_OS_SUPPORT_H
32
+
29 33
 #include "libavformat/avformat.h"
30 34
 #include "libavformat/options_table.h"
31 35
 #include "libavcodec/avcodec.h"