aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 22:38:58 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-30 22:38:58 +0000
commitf52ba8f25fa9733a996e98abb95cfa67da078b7d (patch)
tree99c5a7dd5f4762c8a2d8c1f6d291a8051fde1c37 /main
parent19a46abd437153e75ba7cbb9124445a4cac363c6 (diff)
Oops, wrong define
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134703 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sched.c b/main/sched.c
index f32cfab92..e98accc72 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -334,7 +334,7 @@ const void *ast_sched_find_data(struct sched_context *con, int id)
* would be two or more in the list with that
* id.
*/
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
int ast_sched_del(struct sched_context *con, int id)
#else
int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function)
@@ -377,7 +377,7 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
if (!s) {
ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id);
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
ast_assert(s != NULL);
#else
_ast_assert(0, "s != NULL", file, line, function);