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. 4 5 #ifndef REMOTING_HOST_HOST_EXPORT_H_ 6 #define REMOTING_HOST_HOST_EXPORT_H_ 7 8 #if defined(WIN32) 9 10 #if defined(HOST_IMPLEMENTATION) 11 #define HOST_EXPORT __declspec(dllexport) 12 #else 13 #define HOST_EXPORT __declspec(dllimport) 14 #endif // defined(HOST_IMPLEMENTATION) 15 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) 23 24 #endif // REMOTING_HOST_HOST_EXPORT_H_ 25