From d335134ae98fac808d7b1832f4ec87cbc02e217e Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Tue, 15 Sep 2015 17:10:58 +0300 Subject: Include config.h in all source files and in no headers This way, #include "config.h" is consistently the very first thing the compiler sees when compiling any file. Some source files currently don't use anything defined in config.h, but it's easier and less error-prone to include it now to anticipate possible future changes in those files, config.h or other headers. --- libass/ass_rasterizer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libass/ass_rasterizer.c') diff --git a/libass/ass_rasterizer.c b/libass/ass_rasterizer.c index 8a0ee3b..91c0cf1 100644 --- a/libass/ass_rasterizer.c +++ b/libass/ass_rasterizer.c @@ -16,6 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" + #include "ass_utils.h" #include "ass_rasterizer.h" #include -- cgit v1.2.3 From 124a66c69d7362a5b25d3f370a27a74a131c6030 Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Sun, 27 Apr 2014 06:55:42 +0100 Subject: Fully fix compilation with MSVC/ICL As before, this does not add any build system support: a config.h file and a project must still be manually created (or the compiler can be run manually instead of using a project). Signed-off-by: Grigori Goronzy Signed-off-by: Oleg Oshmyan --- libass/ass_rasterizer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libass/ass_rasterizer.c') diff --git a/libass/ass_rasterizer.c b/libass/ass_rasterizer.c index 91c0cf1..d8e86e8 100644 --- a/libass/ass_rasterizer.c +++ b/libass/ass_rasterizer.c @@ -17,6 +17,7 @@ */ #include "config.h" +#include "ass_compat.h" #include "ass_utils.h" #include "ass_rasterizer.h" -- cgit v1.2.3