This can avoid build failure for f2fscrypt.
Change-Id: I33eddc62eea486dc219c25d089112e011864dd4f
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
#elif defined(__LCLINT__)
# define UNUSED(x) x
+#elif defined(__cplusplus)
+# define UNUSED(x)
#else
# define UNUSED(x) x
#endif
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
#elif defined(__LCLINT__)
# define UNUSED(x) x
+#elif defined(__cplusplus)
+# define UNUSED(x)
#else
# define UNUSED(x) x
#endif