MXS-1840 Compile all routers as C++

Minimal changes, only what is needed in order to make it compile.
This commit is contained in:
Johan Wikman
2018-05-03 15:53:17 +03:00
parent 10b2b4ac37
commit 1f6cc6db8a
39 changed files with 476 additions and 427 deletions

View File

@ -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