summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/include/IceE/Config.h')
-rw-r--r--cppe/include/IceE/Config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cppe/include/IceE/Config.h b/cppe/include/IceE/Config.h
index d79b271361a..0af91514943 100644
--- a/cppe/include/IceE/Config.h
+++ b/cppe/include/IceE/Config.h
@@ -129,6 +129,14 @@
# define ICE_DECLSPEC_IMPORT /**/
#endif
+#if defined(_MSC_VER)
+# define ICE_DEPRECATED_API __declspec(deprecated)
+#elif defined(__GNUC__)
+# define ICE_DEPRECATED_API __attribute__((deprecated))
+#else
+# define ICE_DEPRECATED_API /**/
+#endif
+
//
// Let's use these extensions with IceE:
//