Commit fe2e0477 authored by Matthias Möller's avatar Matthias Möller

fix deprecated macro for gcc < 4.5

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@899 fdac6126-5c0c-442c-9429-916003d36597
parent afda61f0
......@@ -80,7 +80,11 @@
#if defined(_MSCVER)
#define DEPRECATED(msg) __declspec(deprecated(msg))
#elif defined(__GNUC__) || defined(__clang__)
#define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#if GCC_VERSION >= 40500
#define DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#else
#define DEPRECATED(msg) __attribute__ ((deprecated))
#endif
#else
#define DEPRECATED(msg)
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment