aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 22:14:47 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 22:14:47 +0000
commit586129ab7e099f0efdf654beb4050ce673c57eee (patch)
tree738e478690f67f39e52343c57f5a528be1ee85eb /apps
parent05820bd0aae661eac980e5597b55847ffa2c6161 (diff)
Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77886 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 45fdfb641..79bb81eb0 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)
{