Skip to content
Snippets Groups Projects

Feature/amalgamated

Closed Stephan Schulz requested to merge feature/amalgamated into refactor
1 file
+ 14
1
Compare changes
  • Side-by-side
  • Inline
+ 14
1
@@ -30,7 +30,20 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef ALL_DEFINES_HEADER_INCLUDED
#define ALL_DEFINES_HEADER_INCLUDED
// TODO change this depending on the compiler!
#if defined (__clang__)
#define known_unused __attribute__((unused))
#elif defined(__GNUC__) || defined(__GNUG__)
#define known_unused __attribute__((unused))
#elif defined(_MSC_VER)
#warning "The Microsoft compilers are not supported."
#define known_unused
#else
#warning "Unknown compilers are not supported."
#define known_unused
#endif
#endif//ALL_DEFINES_HEADER_INCLUDED
Loading