MXS-1840 Compile all routers as C++
Minimal changes, only what is needed in order to make it compile.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
#ifndef _MAXAVRO_H
|
||||
#define _MAXAVRO_H
|
||||
#pragma once
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -20,6 +19,8 @@
|
||||
#include <jansson.h>
|
||||
#include <maxscale/buffer.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
/** File magic and sync marker sizes block sizes */
|
||||
#define AVRO_MAGIC_SIZE 4
|
||||
#define SYNC_MARKER_SIZE 16
|
||||
@ -154,4 +155,4 @@ GWBUF* maxavro_file_binary_header(MAXAVRO_FILE *file);
|
||||
enum maxavro_error maxavro_get_error(MAXAVRO_FILE *file);
|
||||
const char* maxavro_get_error_string(MAXAVRO_FILE *file);
|
||||
|
||||
#endif
|
||||
MXS_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user