aboutsummaryrefslogtreecommitdiff
path: root/src/StormPort.h
diff options
context:
space:
mode:
authorLadislav <Zezula>2014-04-12 15:57:38 +0200
committerLadislav <Zezula>2014-04-12 15:57:38 +0200
commit5720c3b5b07479d89fbd9175bc4f323d49ff5ccd (patch)
tree0ce2304b057a4db47621dd4a584c34d69b9991b4 /src/StormPort.h
parent9e154f9ba5a2c6775f27939960383618568aab92 (diff)
+ Removed deprecated stuff
Diffstat (limited to 'src/StormPort.h')
-rw-r--r--src/StormPort.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/StormPort.h b/src/StormPort.h
index 902b785..37fbad0 100644
--- a/src/StormPort.h
+++ b/src/StormPort.h
@@ -263,6 +263,7 @@
//-----------------------------------------------------------------------------
// Macro for deprecated symbols
+/*
#ifdef _MSC_VER
#if _MSC_FULL_VER >= 140050320
#define STORMLIB_DEPRECATED(_Text) __declspec(deprecated(_Text))
@@ -280,9 +281,10 @@
// When a flag is deprecated, use this macro
#ifndef _STORMLIB_NO_DEPRECATE
#define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) \
- const STORMLIB_DEPRECATED(#oldflag " is deprecated. Use " #newflag ". To supress this warning, define _STORMLIB_NO_DEPRECATE") type oldflag = (type)newflag;
+ const STORMLIB_DEPRECATED(#oldflag " is deprecated. Use " #newflag ". To supress this warning, define _STORMLIB_NO_DEPRECATE") static type oldflag = (type)newflag;
#else
- #define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) const type oldflag = (type)newflag;
+#define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) static type oldflag = (type)newflag;
#endif
+*/
#endif // __STORMPORT_H__