From 4f95c4bf025a3cdd5cf378fd608da7fc290a7327 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Thu, 27 Apr 2006 15:15:48 +0000 Subject: [PATCH] Bustage fix attempt from bug 332115. --- modules/zlib/src/mozzconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/zlib/src/mozzconf.h b/modules/zlib/src/mozzconf.h index 830b1046cd78..94d245218c5a 100644 --- a/modules/zlib/src/mozzconf.h +++ b/modules/zlib/src/mozzconf.h @@ -37,9 +37,9 @@ #ifndef MOZZCONF_H #define MOZZCONF_H -#ifdef MOZ_ENABLE_LIBXUL +#if defined(XP_WIN) && defined(ZLIB_DLL) #undef ZLIB_DLL -#elif defined(HAVE_VISIBILITY_ATTRIBUTE) +#elif defined(HAVE_VISIBILITY_ATTRIBUTE) && !defined(MOZ_ENABLE_LIBXUL) #define ZEXTERN __attribute__((visibility ("default"))) extern #endif