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
This commit is contained in:
Tilghman Lesher
2007-08-01 22:14:47 +00:00
parent d44d0a9a8c
commit 9b71e8eef2

View File

@@ -1624,6 +1624,7 @@ static int last_message_index(struct ast_vm_user *vmu, char *dir)
#endif #endif
#endif #endif
#ifndef ODBC_STORAGE
static int vm_delete(char *file) static int vm_delete(char *file)
{ {
char *txt; char *txt;
@@ -1638,6 +1639,7 @@ static int vm_delete(char *file)
unlink(txt); unlink(txt);
return ast_filedelete(file, NULL); return ast_filedelete(file, NULL);
} }
#endif
static int inbuf(struct baseio *bio, FILE *fi) static int inbuf(struct baseio *bio, FILE *fi)
{ {