diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 14:32:40 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 14:32:40 +0200 |
commit | 9ade9fd834a59e505c4856a206851c8256d08abe (patch) | |
tree | 7fd44496ab130cc42353beee792b19b9cf918958 /hugin.h | |
parent | 71f375f27e7a59115c0ddace258052f3147dd023 (diff) |
Fix nameclash with gcc __debug symbol.20140528
Diffstat (limited to 'hugin.h')
-rw-r--r-- | hugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -179,12 +179,12 @@ enum __debug_class __class_debug = 4 }; -int __debug(const char *func, const int line, enum __debug_class cl, - const char *ch, const char *fmt, ...) +int __hugin__debug(const char *func, const int line, enum __debug_class cl, + const char *ch, const char *fmt, ...) __attribute__((format (printf,5,6))); #define __DEBUG_PRINT(cl, ch, fmt...) \ - do { __debug(__func__, __LINE__, cl, ch, fmt); } while(0) + do { __hugin__debug(__func__, __LINE__, cl, ch, fmt); } while(0) #define __DEBUG(cl, ch, fmt...) \ __DEBUG_PRINT(__class##cl, #ch, fmt) |