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_
10 #if defined(HOST_IMPLEMENTATION)
11 #define HOST_EXPORT __declspec(dllexport)
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")))
21 #endif // defined(HOST_IMPLEMENTATION)
22 #endif // !defined(WIN32)
24 #endif // REMOTING_HOST_HOST_EXPORT_H_