diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-09-15 20:03:56 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-09-15 20:03:56 +0000 |
commit | 597a1487c716b799428f4b4a4903e65df4c93ba9 (patch) | |
tree | c743b0d4dfc3bacbffc196589543ec4e9abf1aaf /src/util.h | |
parent | 3c6cb7f2347aed974543f9082a0ccd297577db41 (diff) | |
download | libbu++-597a1487c716b799428f4b4a4903e65df4c93ba9.tar.gz libbu++-597a1487c716b799428f4b4a4903e65df4c93ba9.tar.bz2 libbu++-597a1487c716b799428f4b4a4903e65df4c93ba9.tar.xz libbu++-597a1487c716b799428f4b4a4903e65df4c93ba9.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,15 @@ | |||
8 | #ifndef BU_UTIL_H | 8 | #ifndef BU_UTIL_H |
9 | #define BU_UTIL_H | 9 | #define BU_UTIL_H |
10 | 10 | ||
11 | /* I borrowed this from someone who borrowed it from glib who borrowed it | ||
12 | * from... | ||
13 | */ | ||
14 | #if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) | ||
15 | #define DEPRECATED __attribute__((__deprecated__)) | ||
16 | #else | ||
17 | #define DEPRECATED | ||
18 | #endif /* __GNUC__ */ | ||
19 | |||
11 | namespace Bu | 20 | namespace Bu |
12 | { | 21 | { |
13 | template<typename item> | 22 | template<typename item> |