Index: third_party/lzma_sdk/7zBuf.h |
diff --git a/third_party/lzma_sdk/7zBuf.h b/third_party/lzma_sdk/7zBuf.h |
index e9f2f316d0dd9d0ebf57b8aa87eb1c93c9aa9124..65f1d7a716e8f3d23e18b94fa0303d56f6f4631b 100644 |
--- a/third_party/lzma_sdk/7zBuf.h |
+++ b/third_party/lzma_sdk/7zBuf.h |
@@ -1,14 +1,12 @@ |
/* 7zBuf.h -- Byte Buffer |
-2009-02-07 : Igor Pavlov : Public domain */ |
+2013-01-18 : Igor Pavlov : Public domain */ |
#ifndef __7Z_BUF_H |
#define __7Z_BUF_H |
-#include "Types.h" |
+#include "7zTypes.h" |
-#ifdef __cplusplus |
-extern "C" { |
-#endif |
+EXTERN_C_BEGIN |
typedef struct |
{ |
@@ -32,8 +30,6 @@ void DynBuf_SeekToBeg(CDynBuf *p); |
int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc); |
void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc); |
-#ifdef __cplusplus |
-} |
-#endif |
+EXTERN_C_END |
#endif |