Repository: lucy-clownfish Updated Branches: refs/heads/master 8d3ae8b05 -> 489421076
Fix CommonMark's visibility macros Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/eea67db6 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/eea67db6 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/eea67db6 Branch: refs/heads/master Commit: eea67db6261a22eec4cb41cb498e68fefb08fe8c Parents: 65d482f Author: Nick Wellnhofer <[email protected]> Authored: Wed May 20 12:11:13 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Wed May 20 14:12:20 2015 +0200 ---------------------------------------------------------------------- compiler/modules/CommonMark/src/cmark_export.h | 31 ++------------------- 1 file changed, 2 insertions(+), 29 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/eea67db6/compiler/modules/CommonMark/src/cmark_export.h ---------------------------------------------------------------------- diff --git a/compiler/modules/CommonMark/src/cmark_export.h b/compiler/modules/CommonMark/src/cmark_export.h index 1102c36..747a157 100644 --- a/compiler/modules/CommonMark/src/cmark_export.h +++ b/compiler/modules/CommonMark/src/cmark_export.h @@ -2,34 +2,7 @@ #ifndef CMARK_EXPORT_H #define CMARK_EXPORT_H -#ifdef CMARK_STATIC_DEFINE -# define CMARK_EXPORT -# define CMARK_NO_EXPORT -#else -# ifndef CMARK_EXPORT -# ifdef libcmark_EXPORTS - /* We are building this library */ -# define CMARK_EXPORT __attribute__((visibility("default"))) -# else - /* We are using this library */ -# define CMARK_EXPORT __attribute__((visibility("default"))) -# endif -# endif - -# ifndef CMARK_NO_EXPORT -# define CMARK_NO_EXPORT __attribute__((visibility("hidden"))) -# endif -#endif - -#ifndef CMARK_DEPRECATED -# define CMARK_DEPRECATED __attribute__ ((__deprecated__)) -# define CMARK_DEPRECATED_EXPORT CMARK_EXPORT __attribute__ ((__deprecated__)) -# define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT __attribute__ ((__deprecated__)) -#endif - -#define DEFINE_NO_DEPRECATED 0 -#if DEFINE_NO_DEPRECATED -# define CMARK_NO_DEPRECATED -#endif +#define CMARK_EXPORT +#define CMARK_NO_EXPORT #endif
