git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@70677
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
/*
* A negative return value indicates an error.
*/
-#if (!defined(IMAP_STORAGE) || defined(ODBC_STORAGE))
+#if (!defined(IMAP_STORAGE) && !defined(ODBC_STORAGE))
static int last_message_index(struct ast_vm_user *vmu, char *dir)
{
int x;
return x - 1;
}
#endif
+#endif
static int vm_delete(char *file)
{
return ast_filedelete(file, NULL);
}
-
-#endif
static int inbuf(struct baseio *bio, FILE *fi)
{
int l;