CTRE Phoenix C++ 5.33.1
CCI.h
Go to the documentation of this file.
1/* Copyright (C) Cross The Road Electronics 2024 */
2//Legacy Export Define. New code should use CTREXPORT from ctre/phoenix/export.h
3#ifndef CCIEXPORT
4
5 #if defined(WIN32) || defined(_WIN32) || defined(_WIN64)
6 #define CCIEXPORT __declspec(dllexport)
7 #elif (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
8 #define CCIEXPORT __attribute__((visibility("default")))
9 #else
10 #define CCIEXPORT
11 #endif
12#endif