| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ | 5 #ifndef MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ |
| 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ | 6 #define MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ |
| 7 | 7 |
| 8 // Call this function by looking inside the resulting shared object and | 8 // Call this function by looking inside the resulting shared object and |
| 9 // grabbing the symbol manually. | 9 // grabbing the symbol manually. |
| 10 // | 10 // |
| 11 // Always export this api. | 11 // Always export this api. |
| 12 #if defined(WIN32) | 12 #if defined(WIN32) |
| 13 #define THUNK_EXPORT __declspec(dllexport) | 13 #define THUNK_EXPORT __declspec(dllexport) |
| 14 #else | 14 #else |
| 15 #define THUNK_EXPORT __attribute__((visibility("default"))) | 15 #define THUNK_EXPORT __attribute__((visibility("default"))) |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ | 18 #endif // MOJO_PUBLIC_PLATFORM_NATIVE_THUNK_EXPORT_H_ |
| OLD | NEW |