Browse Source

define JACK_LIB_EXPORT, useful for internal clients

Signed-off-by: falkTX <falktx@gmail.com>
tags/v1.9.13
falkTX 6 years ago
parent
commit
1b2eb663cc
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      common/jack/systemdeps.h

+ 9
- 0
common/jack/systemdeps.h View File

@@ -129,4 +129,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#define POST_PACKED_STRUCTURE
#endif /* __arm__ || __aarch64__ || __ppc__ || __powerpc__ */

/** define JACK_LIB_EXPORT, useful for internal clients */
#if defined(_WIN32)
#define JACK_LIB_EXPORT __declspec(dllexport)
#elif defined(__GNUC__)
#define JACK_LIB_EXPORT __attribute__((visibility("default")))
#else
#define JACK_LIB_EXPORT
#endif

#endif /* __jack_systemdeps_h__ */

Loading…
Cancel
Save