summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIwan BK <iwanbk@gmail.com>2014-06-28 10:35:49 +0700
committerIwan BK <iwanbk@gmail.com>2014-06-28 10:35:49 +0700
commit0e00a48c79154097bdf26035e0814e8388e4f450 (patch)
tree9a81ee03f7c40a99ac1721159bfb61f625611ad6 /include
parentb99deff486012818bd849563e8be6f87cd66a4db (diff)
fix XCode build error when used as library.
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 6c5d1d3..f2d871d 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -360,11 +360,10 @@ struct list *aufilt_list(void);
*/
enum log_level {
- DEBUG = 0,
- INFO,
- WARN,
-#undef ERROR
- ERROR,
+ LEVEL_DEBUG = 0,
+ LEVEL_INFO,
+ LEVEL_WARN,
+ LEVEL_ERROR,
};
typedef void (log_h)(uint32_t level, const char *msg);