summaryrefslogtreecommitdiff
path: root/storage/connect/ioapi.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-01-17 11:15:21 +0100
committerSergei Golubchik <serg@mariadb.org>2017-01-17 16:21:53 +0100
commite4e801d4789d3992c1f04b260de3af4c9e5e6b0c (patch)
tree7b0b5d3dbf1bc16ba446cd1050d654245400778e /storage/connect/ioapi.h
parent3e589d4b8edf3d435a44cf71419a8355fe284f8e (diff)
downloadmariadb-git-e4e801d4789d3992c1f04b260de3af4c9e5e6b0c.tar.gz
connect: compilation errors and few obvious bugs
Diffstat (limited to 'storage/connect/ioapi.h')
-rw-r--r--storage/connect/ioapi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/ioapi.h b/storage/connect/ioapi.h
index 8dcbdb06e35..4fa73002053 100644
--- a/storage/connect/ioapi.h
+++ b/storage/connect/ioapi.h
@@ -129,8 +129,9 @@ extern "C" {
#endif
#endif
-
-
+#ifndef OF
+#define OF(args) args
+#endif
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode));
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));