1 /* portab_a.h -- advanced portability layer
3 This file is part of the LZO real-time data compression library.
5 Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
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.
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.
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.
23 Markus F.X.J. Oberhumer
24 <markus@oberhumer.com>
25 http://www.oberhumer.com/opensource/lzo/
29 /*************************************************************************
31 **************************************************************************/
33 #if defined(LZO_HAVE_CONFIG_H)
34 # define LZO_CFG_NO_CONFIG_HEADER 1
37 #define LZO_WANT_ACC_INCD_H 1
38 #define LZO_WANT_ACC_INCE_H 1
39 #if defined(LZO_WANT_ACCLIB_GETOPT) || defined(WANT_LZO_PCLOCK) || defined(WANT_LZO_WILDARGV)
40 # define LZO_WANT_ACC_INCI_H 1
41 # define LZO_WANT_ACC_LIB_H 1
43 #if defined(WANT_LZO_PCLOCK)
44 # define LZO_WANT_ACCLIB_PCLOCK 1
46 #if defined(WANT_LZO_WILDARGV)
47 # define LZO_WANT_ACCLIB_WILDARGV 1
49 #include "src/lzo_supp.h"
51 #if defined(WANT_LZO_MALLOC)
52 # define lzo_malloc(a) (malloc(a))
53 # define lzo_free(a) (free(a))
55 #if defined(WANT_LZO_FREAD)
56 # define lzo_fread(f,b,s) (fread(b,1,s,f))
57 # define lzo_fwrite(f,b,s) (fwrite(b,1,s,f))
61 /* vim:set ts=4 sw=4 et: */