| Index: third_party/lzma_sdk/Alloc.h
|
| diff --git a/third_party/lzma_sdk/Alloc.h b/third_party/lzma_sdk/Alloc.h
|
| index d748cb186553287d7453b1638c31bea10163fc19..b8e4143677da1753237f41a27acb1c6a425466a5 100644
|
| --- a/third_party/lzma_sdk/Alloc.h
|
| +++ b/third_party/lzma_sdk/Alloc.h
|
| @@ -1,10 +1,15 @@
|
| -/* Alloc.h */
|
| +/* Alloc.h -- Memory allocation functions
|
| +2009-02-07 : Igor Pavlov : Public domain */
|
|
|
| #ifndef __COMMON_ALLOC_H
|
| #define __COMMON_ALLOC_H
|
|
|
| #include <stddef.h>
|
|
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| +#endif
|
| +
|
| void *MyAlloc(size_t size);
|
| void MyFree(void *address);
|
|
|
| @@ -26,4 +31,8 @@ void BigFree(void *address);
|
|
|
| #endif
|
|
|
| +#ifdef __cplusplus
|
| +}
|
| +#endif
|
| +
|
| #endif
|
|
|