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:
committed by
David Goldblatt
parent
a01f993077
commit
22366518b7
@@ -3,8 +3,6 @@
|
||||
|
||||
#define ATOMIC_INLINE static inline
|
||||
|
||||
CPP_PROLOGUE
|
||||
|
||||
#if defined(JEMALLOC_GCC_ATOMIC_ATOMICS)
|
||||
# include "jemalloc/internal/atomic_gcc_atomic.h"
|
||||
#elif defined(JEMALLOC_GCC_SYNC_ATOMICS)
|
||||
@@ -76,6 +74,4 @@ JEMALLOC_GENERATE_INT_ATOMICS(uint64_t, u64, 3)
|
||||
|
||||
#undef ATOMIC_INLINE
|
||||
|
||||
CPP_EPILOGUE
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_ATOMIC_H */
|
||||
|
Reference in New Issue
Block a user