| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_ | |
| 6 #define MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_ | |
| 7 | |
| 8 // Call this function by looking inside the resulting shared object and | |
| 9 // grabbing the symbol manually. | |
| 10 // | |
| 11 // Always export this api. | |
| 12 #if defined(WIN32) | |
| 13 #define THUNK_EXPORT __declspec(dllexport) | |
| 14 #else | |
| 15 #define THUNK_EXPORT __attribute__((visibility("default"))) | |
| 16 #endif | |
| 17 | |
| 18 #endif // MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_ | |
| OLD | NEW |