0.2.0-dev Download ZIP
14 lines ·424 B Raw
| 1 | // Copyright (c) 2017-2026 The Khronos Group Inc. |
| 2 | // |
| 3 | // SPDX-License-Identifier: Apache-2.0 OR MIT |
| 4 | // |
| 5 | |
| 6 | #if defined(__GNUC__) && __GNUC__ >= 4 |
| 7 | #define PLATFORM_EXPORT __attribute__((visibility("default"))) |
| 8 | #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) |
| 9 | #define PLATFORM_EXPORT __attribute__((visibility("default"))) |
| 10 | #elif defined(_WIN32) |
| 11 | #define PLATFORM_EXPORT __declspec(dllexport) |
| 12 | #else |
| 13 | #define PLATFORM_EXPORT |
| 14 | #endif |