define NS_DEPRECATED
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 09 Jul 2008 20:11:16 -0700
changeset 3402 39f44473e4cb
parent 3401 52b0ae2057a6
child 3403 ac82ff1f6736
define NS_DEPRECATED
src/core/deprecated.h
src/core/wscript
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/core/deprecated.h	Wed Jul 09 20:11:16 2008 -0700
@@ -0,0 +1,10 @@
+#ifndef NS3_DEPRECATED_H
+#define NS3_DEPRECATED_H
+
+#ifdef __GNUC__
+#define NS_DEPRECATED __attribute__ ((deprecated))
+#else
+#define NS_DEPRECATED
+#endif
+
+#endif /* NS3_DEPRECATED_H */
--- a/src/core/wscript	Wed Jul 09 19:52:15 2008 -0700
+++ b/src/core/wscript	Wed Jul 09 20:11:16 2008 -0700
@@ -110,5 +110,6 @@
         'trace-source-accessor.h',
         'config.h',
         'object-vector.h',
+        'deprecated.h'
         ]