Merged revisions 77886 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 1 Aug 2007 22:19:34 +0000 (22:19 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 1 Aug 2007 22:19:34 +0000 (22:19 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77886 | tilghman | 2007-08-01 17:14:47 -0500 (Wed, 01 Aug 2007) | 2 lines

Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 5ded29d..1756202 100644 (file)
@@ -1790,6 +1790,7 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir)
 
 #endif
 
+#ifndef ODBC_STORAGE
 static int vm_delete(char *file)
 {
        char *txt;
@@ -1807,6 +1808,7 @@ static int vm_delete(char *file)
        unlink(txt);
        return ast_filedelete(file, NULL);
 }
+#endif
 
 static int inbuf(struct baseio *bio, FILE *fi)
 {