aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
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 b08f64443..b11b73a17 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -255,7 +255,7 @@ int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, co
* 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)
@@ -286,7 +286,7 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
if (!s) {
if (option_debug)
ast_log(LOG_DEBUG, "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);