1
/* $Id: minilzo.cpp 10778 2007-08-03 23:26:12Z truelight $ */
3
/* @file minilzo.cpp -- mini subset of the LZO real-time data compression library
5
This file is part of the LZO real-time data compression library.
7
Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer
8
Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer
9
Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer
10
Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer
11
Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer
12
Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer
13
Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer
16
The LZO library is free software; you can redistribute it and/or
17
modify it under the terms of the GNU General Public License as
18
published by the Free Software Foundation; either version 2 of
19
the License, or (at your option) any later version.
21
The LZO library is distributed in the hope that it will be useful,
22
but WITHOUT ANY WARRANTY; without even the implied warranty of
23
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
GNU General Public License for more details.
26
You should have received a copy of the GNU General Public License
27
along with the LZO library; see the file COPYING.
28
If not, write to the Free Software Foundation, Inc.,
29
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31
Markus F.X.J. Oberhumer
32
<markus@oberhumer.com>
33
http://www.oberhumer.com/opensource/lzo/
1
/* $Id: minilzo.cpp 13552 2008-06-17 19:38:00Z smatz $ */
4
* @file minilzo.cpp -- mini subset of the LZO real-time data compression library
6
* This file is part of the LZO real-time data compression library.
8
* Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer
9
* Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer
10
* Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer
11
* Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer
12
* Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer
13
* Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer
14
* Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer
15
* All Rights Reserved.
17
* The LZO library is free software; you can redistribute it and/or
18
* modify it under the terms of the GNU General Public License as
19
* published by the Free Software Foundation; either version 2 of
20
* the License, or (at your option) any later version.
22
* The LZO library is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
* GNU General Public License for more details.
27
* You should have received a copy of the GNU General Public License
28
* along with the LZO library; see the file COPYING.
29
* If not, write to the Free Software Foundation, Inc.,
30
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32
* Markus F.X.J. Oberhumer
33
* <markus@oberhumer.com>
34
* http://www.oberhumer.com/opensource/lzo/
38
37
* the full LZO package can be found at
39
38
* http://www.oberhumer.com/opensource/lzo/
231
230
# error "LZO_ALIGNED_OK_4 must not be defined on this system"
234
#define LZO_LITTLE_ENDIAN 1234
235
#define LZO_BIG_ENDIAN 4321
236
#define LZO_PDP_ENDIAN 3412
233
#define LZO_LITTLE_ENDIAN 1234
234
#define LZO_BIG_ENDIAN 4321
235
#define LZO_PDP_ENDIAN 3412
238
237
#if !defined(LZO_BYTE_ORDER)
239
238
# if defined(MFX_BYTE_ORDER)