From 9b71e8eef231d00c6ebb4b98e3f706294bbbb7a4 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 1 Aug 2007 22:14:47 +0000 Subject: [PATCH] Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@77886 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 45fdfb641a..79bb81eb0b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1624,6 +1624,7 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir) #endif #endif +#ifndef ODBC_STORAGE static int vm_delete(char *file) { char *txt; @@ -1638,6 +1639,7 @@ static int vm_delete(char *file) unlink(txt); return ast_filedelete(file, NULL); } +#endif static int inbuf(struct baseio *bio, FILE *fi) {