EOL conversion for clang-format

This commit is contained in:
Roy Schuster
2019-04-12 10:43:55 +01:00
parent eb2b8a0c80
commit 81030a554f
2 changed files with 6 additions and 6 deletions

View File

@@ -4,9 +4,9 @@
#define USE_RESERVE_MULTIPLE 1
#define NO_BOOTSTRAP_ALLOCATOR
#define IS_ADDRESS_SPACE_CONSTRAINED
#ifndef SNMALLOC_EXPOSE_PAGEMAP
# define SNMALLOC_EXPOSE_PAGEMAP
#endif
#ifndef SNMALLOC_EXPOSE_PAGEMAP
# define SNMALLOC_EXPOSE_PAGEMAP
#endif
#define SNMALLOC_NAME_MANGLE(a) enclave_##a
// Redefine the namespace, so we can have two versions.
#define snmalloc snmalloc_enclave

View File

@@ -1,9 +1,9 @@
#undef IS_ADDRESS_SPACE_CONSTRAINED
#define SNMALLOC_NAME_MANGLE(a) host_##a
#define NO_BOOTSTRAP_ALLOCATOR
#ifndef SNMALLOC_EXPOSE_PAGEMAP
# define SNMALLOC_EXPOSE_PAGEMAP
#endif
#ifndef SNMALLOC_EXPOSE_PAGEMAP
# define SNMALLOC_EXPOSE_PAGEMAP
#endif
// Redefine the namespace, so we can have two versions.
#define snmalloc snmalloc_host
#include "../../../override/malloc.cc"