]> www.ginac.de Git - ginac.git/blobdiff - ginac/compiler.h
De-document eval() in ginsh help and manpage.
[ginac.git] / ginac / compiler.h
index 6c94150ce2e74101a401d07f11bcd8195541075e..8c31ed1315ca446943e672cbcf80feeecf7538d3 100644 (file)
@@ -3,7 +3,7 @@
  *  Definition of optimizing macros. */
 
 /*
- *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2015 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));
 #else
 #define unlikely(cond) (cond)
 #define likely(cond) (cond)
+#define deprecated
+#endif
+
+#ifdef _MSC_VER
+#define __func__ __FUNCTION__
+#define __alignof__ __alignof
 #endif
 
 #endif // ndef GINAC_COMPILER_DEP_H