From 270e2e8819eeb3ca9ec14d9ddba17193f025d614 Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Thu, 12 Dec 2019 13:08:08 -0500 Subject: [PATCH] util: Always export default visibility. This should fix the CFI build compatibility with class exports. Bug: chromium:1030192 Bug: angleproject:3162 Change-Id: I228d6d387f8b29c0a500038de962f9f216454d7a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1964933 Reviewed-by: Jamie Madill Commit-Queue: Jamie Madill --- util/util_export.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/util/util_export.h b/util/util_export.h index 6579831e8..8274cec9c 100644 --- a/util/util_export.h +++ b/util/util_export.h @@ -16,11 +16,7 @@ # define ANGLE_UTIL_EXPORT __declspec(dllimport) # endif # elif defined(__GNUC__) -# if defined(LIBANGLE_UTIL_IMPLEMENTATION) -# define ANGLE_UTIL_EXPORT __attribute__((visibility("default"))) -# else -# define ANGLE_UTIL_EXPORT -# endif +# define ANGLE_UTIL_EXPORT __attribute__((visibility("default"))) # else # define ANGLE_UTIL_EXPORT # endif