diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-01-17 20:17:35 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-01-17 20:17:35 +0100 |
commit | f7d030489d2980c9deb733925515099ec256f6d2 (patch) | |
tree | 32673a800f903c26be547aa0f752cf4bd93d4923 /storage/connect/ioapi.h | |
parent | f797ea7124e906fd3abf311d66101a21dce2d27d (diff) | |
parent | 6728aae3b34616cc98a7436ff93f318a15949a4b (diff) | |
download | mariadb-git-mariadb-10.1.21.tar.gz |
Merge branch '10.0' into 10.1mariadb-10.1.21
Diffstat (limited to 'storage/connect/ioapi.h')
-rw-r--r-- | storage/connect/ioapi.h | 5 |
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)); |