mirror of
https://github.com/lz4/lz4.git
synced 2024-11-28 20:33:34 +08:00
Added CPP compatibility macro
git-svn-id: https://lz4.googlecode.com/svn/trunk@3 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
This commit is contained in:
parent
3610461005
commit
1920856128
8
LZ4.h
8
LZ4.h
@ -18,6 +18,10 @@
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#if defined (__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
//****************************
|
||||
// Simple Functions
|
||||
@ -53,3 +57,7 @@ LZ4_compressCtx :
|
||||
Use different pointers for different threads when doing multi-threading.
|
||||
*/
|
||||
|
||||
|
||||
#if defined (__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user