Move CPP_PROLOGUE and CPP_EPILOGUE to the .cpp

This lets us avoid having to specify them in every C file.
This commit is contained in:
David Goldblatt
2017-04-17 15:22:14 -07:00
committed by David Goldblatt
parent a01f993077
commit 22366518b7
5 changed files with 8 additions and 21 deletions

View File

@@ -2,9 +2,17 @@
#include <new>
#define JEMALLOC_CPP_CPP_
#ifdef __cplusplus
extern "C" {
#endif
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
#ifdef __cplusplus
}
#endif
// All operators in this file are exported.
// Possibly alias hidden versions of malloc and sdallocx to avoid an extra plt