aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-02-01 18:31:34 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-01 18:31:34 -0800
commitaeddde15bbdc6a01cd39ded2a8cbf1ac08f3b695 (patch)
tree8f4006244a9ed3b41ee85c8b9e225640ab0ee0f6 /src/config.h
parenta76638096aa135b465f7b6b102407a3046e5b606 (diff)
parent3c6da7f2a8ee175552ead63568a8d4e263c95b9e (diff)
downloadgflags-aeddde15bbdc6a01cd39ded2a8cbf1ac08f3b695.tar.gz
Upgrade gflags to v2.2.2
am: 3c6da7f2a8 Change-Id: Icf6487d6b48b73350612c95326ec8e787f8a6238
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index b90b7e6..c33d207 100644
--- a/src/config.h
+++ b/src/config.h
@@ -36,6 +36,8 @@
#ifndef GFLAGS_DLL_DECL
# if GFLAGS_IS_A_DLL && defined(_MSC_VER)
# define GFLAGS_DLL_DECL __declspec(dllexport)
+# elif defined(__GNUC__) && __GNUC__ >= 4
+# define GFLAGS_DLL_DECL __attribute__((visibility("default")))
# else
# define GFLAGS_DLL_DECL
# endif