Turn audio into a shareable video. forked from nypublicradio/audiogram

libplatform-export.h 804B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2016 the V8 project authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
  5. #define V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_
  6. #if defined(_WIN32)
  7. #ifdef BUILDING_V8_PLATFORM_SHARED
  8. #define V8_PLATFORM_EXPORT __declspec(dllexport)
  9. #elif USING_V8_PLATFORM_SHARED
  10. #define V8_PLATFORM_EXPORT __declspec(dllimport)
  11. #else
  12. #define V8_PLATFORM_EXPORT
  13. #endif // BUILDING_V8_PLATFORM_SHARED
  14. #else // defined(_WIN32)
  15. // Setup for Linux shared library export.
  16. #ifdef BUILDING_V8_PLATFORM_SHARED
  17. #define V8_PLATFORM_EXPORT __attribute__((visibility("default")))
  18. #else
  19. #define V8_PLATFORM_EXPORT
  20. #endif
  21. #endif // defined(_WIN32)
  22. #endif // V8_LIBPLATFORM_LIBPLATFORM_EXPORT_H_