Kaydet (Commit) d060197a authored tarafından Michael Stahl's avatar Michael Stahl

hunspell: -Werror=undef

Change-Id: Ib6d015605005dd1fec4aa5351dbf6e72f06cd8ec
üst 8ac3ad62
......@@ -20,6 +20,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hunspell,\
hunspell/hunspell-1.3.2-literal.patch \
hunspell/hunspell-1.3.2-compound.patch \
hunspell/hunspell.rhbz918938.patch \
hunspell/hunspell-wundef.patch.1 \
))
ifeq ($(COM),MSC)
......
--- a/src/hunspell/hunvisapi.h.in 2013-04-01 14:41:16.507546705 +0200
+++ b/src/hunspell/hunvisapi.h.in 2013-04-01 14:41:24.537547190 +0200
@@ -9,7 +9,7 @@
# else
# define LIBHUNSPELL_DLL_EXPORTED __declspec(dllimport)
# endif
-#elif BUILDING_LIBHUNSPELL && @HAVE_VISIBILITY@
+#elif defined(BUILDING_LIBHUNSPELL) && @HAVE_VISIBILITY@
# define LIBHUNSPELL_DLL_EXPORTED __attribute__((__visibility__("default")))
#else
# define LIBHUNSPELL_DLL_EXPORTED
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment