From 4aae8e03369bf188b6300f75745e6cc837889157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 25 Aug 2018 15:20:08 +0200 Subject: cmake: Add option for GCC hidden visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- config.h.cmake | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index a506c78..47cd0c7 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,4 +1,7 @@ -#cmakedefine VERSION "@VERSION@" +#define VERSION "@VERSION@" + +// Defined if you have fvisibility and fvisibility-inlines-hidden support. +#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 /* Define to 1 if you have the header file. */ #cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@ @@ -285,9 +288,6 @@ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 -/* Version number of package */ -#define VERSION "3.5.10" - /* Defined if compiling without arts */ /* #undef WITHOUT_ARTS */ @@ -451,10 +451,6 @@ int snprintf(char *str, size_t n, char const *fmt, ...); #endif -/* define to 1 if -fvisibility is supported */ -/* #undef __KDE_HAVE_GCC_VISIBILITY */ - - #if defined(__SVR4) && !defined(__svr4__) #define __svr4__ 1 #endif -- cgit v1.2.1