source: bootcd/isolinux/syslinux-6.03/lzo/src/lzo_str.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/* lzo_str.c -- string functions for the the LZO library
2
3   This file is part of the LZO real-time data compression library.
4
5   Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
6   All Rights Reserved.
7
8   The LZO library is free software; you can redistribute it and/or
9   modify it under the terms of the GNU General Public License as
10   published by the Free Software Foundation; either version 2 of
11   the License, or (at your option) any later version.
12
13   The LZO library is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with the LZO library; see the file COPYING.
20   If not, write to the Free Software Foundation, Inc.,
21   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
23   Markus F.X.J. Oberhumer
24   <markus@oberhumer.com>
25   http://www.oberhumer.com/opensource/lzo/
26 */
27
28
29#include "lzo_conf.h"
30
31#undef lzo_memcmp
32#undef lzo_memcpy
33#undef lzo_memmove
34#undef lzo_memset
35
36
37/***********************************************************************
38// slow but portable <string.h> stuff, only used in assertions
39************************************************************************/
40
41#define lzo_hsize_t             lzo_uint
42#define lzo_hvoid_p             lzo_voidp
43#define lzo_hbyte_p             lzo_bytep
44#define LZOLIB_PUBLIC(r,f)      LZO_PUBLIC(r) f
45#ifndef __LZOLIB_FUNCNAME
46#define __LZOLIB_FUNCNAME(f)    f
47#endif
48#define lzo_hmemcmp             __LZOLIB_FUNCNAME(lzo_memcmp)
49#define lzo_hmemcpy             __LZOLIB_FUNCNAME(lzo_memcpy)
50#define lzo_hmemmove            __LZOLIB_FUNCNAME(lzo_memmove)
51#define lzo_hmemset             __LZOLIB_FUNCNAME(lzo_memset)
52#define LZO_WANT_ACCLIB_HMEMCPY 1
53#include "lzo_supp.h"
54#undef LZOLIB_PUBLIC
55
56
57/*
58vi:ts=4:et
59*/
Note: See TracBrowser for help on using the repository browser.