patch-src_Audacity_h 933 B

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