btio: Add workaround for not defined BT_FLUSHABLE

This commit is contained in:
Marcel Holtmann 2011-05-27 10:21:16 -07:00
parent 7414d16a24
commit 9506b203e5
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@
#include "btio.h"
#ifndef BT_FLUSHABLE
#define BT_FLUSHABLE 8
#endif
#define ERROR_FAILED(gerr, str, err) \
g_set_error(gerr, BT_IO_ERROR, BT_IO_ERROR_FAILED, \
str ": %s (%d)", strerror(err), err)