Added CPP compatibility macro

git-svn-id: https://lz4.googlecode.com/svn/trunk@3 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
This commit is contained in:
yann.collet.73@gmail.com 2011-04-25 08:24:43 +00:00
parent 3610461005
commit 1920856128

8
LZ4.h
View File

@ -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