// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PLATFORM_API_EXPORT_H_ #define PLATFORM_API_EXPORT_H_ #if defined(WIN32) #if defined(OPENSCREEN_SHARED_IMPLEMENTATION) #define OPENSCREEN_EXPORT __declspec(dllexport) #else #define OPENSCREEN_EXPORT __declspec(dllimport) #endif // defined(OPENSCREEN_SHARED_IMPLEMENTATION) #else #if defined(OPENSCREEN_SHARED_IMPLEMENTATION) #define OPENSCREEN_EXPORT __attribute__((visibility("default"))) #else #define OPENSCREEN_EXPORT #endif // defined(OPENSCREEN_SHARED_IMPLEMENTATION) #endif // defined(WIN32) #endif // PLATFORM_API_EXPORT_H_