CTRE Phoenix Pro C++ 23.0.12
export.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7#ifndef CTREXPORT
8
9 #if defined(WIN32) || defined(_WIN32) || defined(_WIN64)
10 #define CTREXPORT __declspec(dllexport)
11 #elif (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
12 #define CTREXPORT __attribute__((visibility("default")))
13 #else
14 #define CTREXPORT
15 #endif
16
17#endif