From 597a1487c716b799428f4b4a4903e65df4c93ba9 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 15 Sep 2008 20:03:56 +0000 Subject: Whoa! Loads of NIDS work. It actually compiles, runs, and I'm optimizing the hell out of it. Good times, everyone. This is a major chunk for congo, and the new optimizations should be good. --- src/util.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 6205c04..b55ceee 100644 --- a/src/util.h +++ b/src/util.h @@ -8,6 +8,15 @@ #ifndef BU_UTIL_H #define BU_UTIL_H +/* I borrowed this from someone who borrowed it from glib who borrowed it + * from... + */ +#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) +#define DEPRECATED __attribute__((__deprecated__)) +#else +#define DEPRECATED +#endif /* __GNUC__ */ + namespace Bu { template -- cgit v1.2.3