Fix define definition

This commit is contained in:
Danila Kutenin 2019-04-13 15:14:56 +03:00
parent 622b2c8472
commit 3fe3e4d8a3
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#if USE_LFALLOC
#include <Common/config.h>
#if USE_LFALLOC
#include "LFAllocator.h"
#include <cstring>

View File

@ -1,12 +1,13 @@
#pragma once
#include <Common/config.h>
#include <cstddef>
#if !USE_LFALLOC
#error "do not include this file until USE_LFALLOC is set to 1"
#endif
#include <cstddef>
namespace DB
{
struct LFAllocator