From a1a0c24b882c1a6ec18d5098b1baa087cb079339 Mon Sep 17 00:00:00 2001 From: brectanus Date: Wed, 23 May 2007 16:04:25 +0000 Subject: [PATCH] Do not compile on Solaris with visibility attributes. --- CHANGES | 3 +++ apache2/modsecurity.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3e96ad9e..8dd56635 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ ?? ??? 2007 - 2.2.0-trunk ------------------------- + * Add Solaris to the list of platforms not supporting the hidden + visibility attribute. + * Remove excessive debug log entries about "capture" action. * Fixed decoding full-width unicode in t:urlDecodeUni. diff --git a/apache2/modsecurity.h b/apache2/modsecurity.h index 4b6abe59..d133535e 100644 --- a/apache2/modsecurity.h +++ b/apache2/modsecurity.h @@ -26,7 +26,7 @@ typedef struct msc_data_chunk msc_data_chunk; typedef struct msc_arg msc_arg; typedef struct msc_string msc_string; -#if !(defined(WIN32) || defined(NETWARE)) +#if !(defined(WIN32) || defined(NETWARE) || defined(SOLARIS2)) #define DSOLOCAL __attribute__((visibility("hidden"))) #else #define DSOLOCAL