Index: third_party/lzma_sdk/7zAlloc.h |
diff --git a/third_party/lzma_sdk/7zAlloc.h b/third_party/lzma_sdk/7zAlloc.h |
index 3344e9373f7aca73135254f1505f1e5f09ab8b20..2fd5bdbc80016112aba25c5026e0337795285c24 100644 |
--- a/third_party/lzma_sdk/7zAlloc.h |
+++ b/third_party/lzma_sdk/7zAlloc.h |
@@ -1,15 +1,23 @@ |
/* 7zAlloc.h -- Allocation functions |
-2010-10-29 : Igor Pavlov : Public domain */ |
+2013-03-25 : Igor Pavlov : Public domain */ |
#ifndef __7Z_ALLOC_H |
#define __7Z_ALLOC_H |
#include <stdlib.h> |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
void *SzAlloc(void *p, size_t size); |
void SzFree(void *p, void *address); |
void *SzAllocTemp(void *p, size_t size); |
void SzFreeTemp(void *p, void *address); |
+#ifdef __cplusplus |
+} |
+#endif |
+ |
#endif |