From eab36c0001e22c0ee66246ae9a0b8018b2325c96 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 12 Aug 2014 12:03:23 +0800 Subject: tests/scanner: Decorate Symbols for Export This updates the test headers and sources to decorate the symbols with the macro that can be used to export the symbols, and include config.h first in the c-sources so that the macro can be defined with the compiler directive to export the symbols. Update the CFLAGS as well so that the header that defines the export decoration macro can be found. https://bugzilla.gnome.org/show_bug.cgi?id=732669 --- tests/scanner/sletter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/scanner/sletter.c') diff --git a/tests/scanner/sletter.c b/tests/scanner/sletter.c index a6e7bcca..8cb6db52 100644 --- a/tests/scanner/sletter.c +++ b/tests/scanner/sletter.c @@ -1,4 +1,5 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +#include "config.h" #include "sletter.h" -- cgit v1.2.1