Control MIDI in Ableton Live with a MYO armband
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

visibility.h 855B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright (C) 2013-2014 Thalmic Labs Inc.
  2. // Distributed under the Myo SDK license agreement. See LICENSE.txt for details.
  3. #ifndef MYO_LIBMYO_DETAIL_VISIBILITY_H
  4. #define MYO_LIBMYO_DETAIL_VISIBILITY_H
  5. #if defined(_WIN32) || defined(__CYGWIN__)
  6. #ifdef myo_EXPORTS
  7. #ifdef __GNUC__
  8. #define LIBMYO_EXPORT __attribute__ ((dllexport))
  9. #else
  10. #define LIBMYO_EXPORT __declspec(dllexport)
  11. #endif
  12. #else
  13. #ifdef LIBMYO_STATIC_BUILD
  14. #define LIBMYO_EXPORT
  15. #else
  16. #ifdef __GNUC__
  17. #define LIBMYO_EXPORT __attribute__ ((dllimport))
  18. #else
  19. #define LIBMYO_EXPORT __declspec(dllimport)
  20. #endif
  21. #endif
  22. #endif
  23. #else
  24. #if __GNUC__ >= 4
  25. #define LIBMYO_EXPORT __attribute__ ((visibility ("default")))
  26. #else
  27. #define LIBMYO_EXPORT
  28. #endif
  29. #endif
  30. #endif // MYO_LIBMYO_DETAIL_VISIBILITY_H