]> www.ginac.de Git - ginac.git/blobdiff - ginac/compiler.h
Finalize 1.7.6 release.
[ginac.git] / ginac / compiler.h
index 823e197b9449fdbea80f9915515bf4da47cfb3bd..08099f57526661f258eabd819c74e617d6c35529 100644 (file)
@@ -3,7 +3,7 @@
  *  Definition of optimizing macros. */
 
 /*
- *  GiNaC Copyright (C) 1999-2016 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 deprecated __attribute__ ((deprecated));
+#define attribute_deprecated __attribute__ ((deprecated))
 #else
 #define unlikely(cond) (cond)
 #define likely(cond) (cond)
-#define deprecated
-#endif
-
-#ifdef _MSC_VER
-#define __func__ __FUNCTION__
-#define __alignof__ __alignof
+#define attribute_deprecated
 #endif
 
 #endif // ndef GINAC_COMPILER_DEP_H