MozillaExport.h 539 B

12345678910111213141516171819202122
  1. // Copyright 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. #ifndef THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_
  5. #define THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_
  6. #if defined(COMPONENT_BUILD)
  7. #if defined(MOZILLA_IMPLEMENTATION)
  8. #define MOZILLA_EXPORT __attribute__((visibility("default")))
  9. #else
  10. #define MOZILLA_EXPORT
  11. #endif
  12. #else // !defined(COMPONENT_BUILD)
  13. #define MOZILLA_EXPORT
  14. #endif
  15. #endif // THIRD_PARTY_MOZILLA_MOZILLAEXPORT_H_