aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/allocator.h')
-rw-r--r--Source/charon/allocator.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/Source/charon/allocator.h b/Source/charon/allocator.h
index e0611b843..6ff1d2365 100644
--- a/Source/charon/allocator.h
+++ b/Source/charon/allocator.h
@@ -151,15 +151,14 @@
void (*report_memory_leaks) (allocator_t *this);
};
- #ifndef ALLOCATOR_C_
- /**
- * @brief Global allocater_t object.
- *
- * Only accessed over macros.
- */
- extern allocator_t *global_allocator;
- #endif
+ /**
+ * @brief Global allocater_t object.
+ *
+ * Only accessed over macros.
+ */
+ extern allocator_t *global_allocator;
+
/**
* Macro to allocate some memory