a0cf82ec61
ok sthen@
25 lines
933 B
Plaintext
25 lines
933 B
Plaintext
$OpenBSD: patch-src_Audacity_h,v 1.3 2009/10/28 18:40:13 jakemsr Exp $
|
|
--- src/Audacity.h.orig Mon Aug 31 03:45:38 2009
|
|
+++ src/Audacity.h Sat Oct 17 14:29:54 2009
|
|
@@ -92,8 +92,9 @@ void QuitAudacity();
|
|
#endif //_MSC_VER
|
|
|
|
/* The GCC-elf implementation */
|
|
-#ifdef HAVE_VISIBILITY // this is provided by the configure script, is only
|
|
+#if defined HAVE_VISIBILITY // this is provided by the configure script, is only
|
|
// enabled for suitable GCC versions
|
|
+#if HAVE_VISIBILITY
|
|
/* The incantation is a bit weird here because it uses ELF symbol stuff. If we
|
|
* make a symbol "default" it makes it visible (for import or export). Making it
|
|
* "hidden" means it is invisible outside the shared object. */
|
|
@@ -104,6 +105,9 @@ void QuitAudacity();
|
|
#define AUDACITY_DLL_API __attribute__((visibility("default")))
|
|
#endif
|
|
#endif
|
|
+#else
|
|
+ #define AUDACITY_DLL_API
|
|
+#endif
|
|
#endif
|
|
|
|
/* The GCC-win32 implementation */
|