FastLED 3.9.15
Loading...
Searching...
No Matches
deprecated.h
Go to the documentation of this file.
1#pragma once
2
3#if defined(__GNUC__) // GCC or Clang
4#ifndef FASTLED_DEPRECATED
5#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
6#define FASTLED_DEPRECATED(msg) __attribute__((deprecated(msg)))
7#else
8#define FASTLED_DEPRECATED(msg) __attribute__((deprecated))
9#endif
10#endif
11#else // Other compilers
12#ifndef FASTLED_DEPRECATED
13#define FASTLED_DEPRECATED(msg)
14#endif
15#endif