CTRE Phoenix 6 C++ 26.70.0-alpha-2
Loading...
Searching...
No Matches
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#pragma once
8
9#ifndef CTREXPORT
10
11 #if defined(_WIN32) || defined(_WIN64)
12 #define CTREXPORT __declspec(dllexport)
13 #elif defined(__GNUC__) || __has_attribute(visibility)
14 #define CTREXPORT __attribute__((visibility("default")))
15 #else
16 #define CTREXPORT
17 #endif
18
19#endif