]> www.ginac.de Git - ginac.git/blobdiff - ginac/compiler.h
Happy New Year!
[ginac.git] / ginac / compiler.h
index 6c94150ce2e74101a401d07f11bcd8195541075e..08099f57526661f258eabd819c74e617d6c35529 100644 (file)
@@ -3,7 +3,7 @@
  *  Definition of optimizing macros. */
 
 /*
- *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
 #ifdef __GNUC__
 #define unlikely(cond) __builtin_expect((cond), 0)
 #define likely(cond) __builtin_expect((cond), 1)
+#define attribute_deprecated __attribute__ ((deprecated))
 #else
 #define unlikely(cond) (cond)
 #define likely(cond) (cond)
+#define attribute_deprecated
 #endif
 
 #endif // ndef GINAC_COMPILER_DEP_H