diff options
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> |