doc/print_options: Fix build on mingw after 960aff379da46dcaff61504a57714d4d4e758e41
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 02:56:57 +0000 (03:56 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 03:04:00 +0000 (04:04 +0100)
A cleaner fix is very welcome

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/print_options.c

index ec8d839..b225e69 100644 (file)
 #include <string.h>
 #include <float.h>
 
+// print_options is build for the host, os_support.h isnt needed and is setup
+// for the target. without this build breaks on mingw
+#define AVFORMAT_OS_SUPPORT_H
+
 #include "libavformat/avformat.h"
 #include "libavformat/options_table.h"
 #include "libavcodec/avcodec.h"