From 7fbf664ec8974d0502ef657dd8a1cec440baa739 Mon Sep 17 00:00:00 2001 From: brectanus Date: Mon, 2 Jul 2007 14:49:56 +0000 Subject: [PATCH] Added cygwin to list of compilers that do not support hidden visibility attribute. --- CHANGES | 7 ++++++- apache2/modsecurity.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index ceb59ea6..00250a9e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ - ?? ??? 2007 - 2.5.0-trunk +------------------------- + + * Added Cygwin to the list of platforms not supporting the hidden + visibility attribute. + +21 June 2007 - 2.5.0-dev2 ------------------------- * Reversioned from 2.2.0 base version to 2.5.0 because of the large changeset. diff --git a/apache2/modsecurity.h b/apache2/modsecurity.h index 932addd7..601e4f7a 100644 --- a/apache2/modsecurity.h +++ b/apache2/modsecurity.h @@ -24,7 +24,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) || defined(SOLARIS2)) +#if !(defined(WIN32) || defined(CYGWIN) || defined(NETWARE) || defined(SOLARIS2)) #define DSOLOCAL __attribute__((visibility("hidden"))) #else #define DSOLOCAL