Remove globalconfig.h includes.
This commit is contained in:
committed by
Matthew Parkinson
parent
d6bae72b20
commit
0cfa8f2cff
@@ -1,7 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../ds/helpers.h"
|
#include "../ds/helpers.h"
|
||||||
#include "globalconfig.h"
|
|
||||||
#include "localalloc.h"
|
#include "localalloc.h"
|
||||||
|
|
||||||
#if defined(SNMALLOC_EXTERNAL_THREAD_ALLOC)
|
#if defined(SNMALLOC_EXTERNAL_THREAD_ALLOC)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#include "../snmalloc_core.h"
|
#include "../snmalloc_core.h"
|
||||||
|
|
||||||
#ifndef SNMALLOC_PROVIDE_OWN_CONFIG
|
#ifndef SNMALLOC_PROVIDE_OWN_CONFIG
|
||||||
|
# include "../mem/globalconfig.h"
|
||||||
// The default configuration for snmalloc is used if alternative not defined
|
// The default configuration for snmalloc is used if alternative not defined
|
||||||
namespace snmalloc
|
namespace snmalloc
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
// Core implementation of snmalloc independent of the configuration mode
|
// Core implementation of snmalloc independent of the configuration mode
|
||||||
#include "snmalloc_core.h"
|
#include "snmalloc_core.h"
|
||||||
|
|
||||||
|
// Default implementation of global state
|
||||||
|
#include "mem/globalconfig.h"
|
||||||
|
|
||||||
// The default configuration for snmalloc
|
// The default configuration for snmalloc
|
||||||
namespace snmalloc
|
namespace snmalloc
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "mem/globalalloc.h"
|
#include "mem/globalalloc.h"
|
||||||
#include "mem/globalconfig.h"
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
#include "mem/fixedglobalconfig.h"
|
#include "mem/fixedglobalconfig.h"
|
||||||
#include "mem/globalconfig.h"
|
|
||||||
#include "test/setup.h"
|
#include "test/setup.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
// Specify using own
|
// Specify using own
|
||||||
#define SNMALLOC_EXTERNAL_THREAD_ALLOC
|
#define SNMALLOC_EXTERNAL_THREAD_ALLOC
|
||||||
|
|
||||||
|
#include "mem/globalconfig.h"
|
||||||
|
|
||||||
namespace snmalloc
|
namespace snmalloc
|
||||||
{
|
{
|
||||||
using Alloc = snmalloc::LocalAllocator<snmalloc::Globals>;
|
using Alloc = snmalloc::LocalAllocator<snmalloc::Globals>;
|
||||||
|
|||||||
Reference in New Issue
Block a user