Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / remoting / host / host_export.h
blob7aa58d802c05531dd3f4acb40862f64c49dab807
1 // Copyright (c) 2013 The Chromium 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.
5 #ifndef REMOTING_HOST_HOST_EXPORT_H_
6 #define REMOTING_HOST_HOST_EXPORT_H_
8 #if defined(WIN32)
10 #if defined(HOST_IMPLEMENTATION)
11 #define HOST_EXPORT __declspec(dllexport)
12 #else
13 #define HOST_EXPORT __declspec(dllimport)
14 #endif // defined(HOST_IMPLEMENTATION)
16 #else // !defined(WIN32)
17 #if defined(HOST_IMPLEMENTATION)
18 #define HOST_EXPORT __attribute__((visibility("default")))
19 #else
20 #define HOST_EXPORT
21 #endif // defined(HOST_IMPLEMENTATION)
22 #endif // !defined(WIN32)
24 #endif // REMOTING_HOST_HOST_EXPORT_H_