summaryrefslogtreecommitdiff
path: root/chromium/third_party/mozilla/MozillaExport.h
blob: 489eade50d971538e5cca53de50a00a01c4e036b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2013 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 THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_
#define THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_

#if defined(COMPONENT_BUILD)

#if defined(MOZILLA_IMPLEMENTATION)
#define MOZILLA_EXPORT __attribute__((visibility("default")))
#else
#define MOZILLA_EXPORT
#endif

#else  // !defined(COMPONENT_BUILD)

#define MOZILLA_EXPORT

#endif

#endif  // THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_