tlv, name: add missing FaceEventKind TLV, deprecate Name::appendVersion/Segment

Change-Id: Ieaa1a16d9b49a908e1ba3c1d8cabf490b1f3725b
diff --git a/src/common.hpp b/src/common.hpp
index 281da0b..457ac23 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -36,6 +36,15 @@
 #include <boost/iostreams/categories.hpp>
 #include <boost/iostreams/stream.hpp>
 
+#if defined(__GNUC__) || defined(__clang__)
+#define DEPRECATED(func) func __attribute__ ((deprecated))
+#elif defined(_MSC_VER)
+#define DEPRECATED(func) __declspec(deprecated) func
+#else
+#pragma message("DEPRECATED not implemented")
+#define DEPRECATED(func) func
+#endif
+
 #if NDN_CPP_HAVE_CXX11
 
 #if (__cplusplus < 201103L)