diff options
author | Parménides GV <parmegv@sdf.org> | 2014-08-18 18:22:54 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-08-18 18:22:54 +0200 |
commit | 31f6eab32a26a658cbfb2db0d457cc1f87d23f0f (patch) | |
tree | 75f372ff22a94102ef2f9bd163febf54ac45e9d6 /app/lzo/src/lzo_str.c | |
parent | 6057466bc8b4475bf4564b9143c60753c90f9aaa (diff) | |
parent | 7d8cde4f7ae769a3b6a25483d8bd0bb6c1551af9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'app/lzo/src/lzo_str.c')
-rw-r--r-- | app/lzo/src/lzo_str.c | 46 |
1 files changed, 14 insertions, 32 deletions
diff --git a/app/lzo/src/lzo_str.c b/app/lzo/src/lzo_str.c index faeb5b54..a7ca638f 100644 --- a/app/lzo/src/lzo_str.c +++ b/app/lzo/src/lzo_str.c @@ -2,22 +2,7 @@ This file is part of the LZO real-time data compression library. - Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The LZO library is free software; you can redistribute it and/or @@ -53,23 +38,20 @@ // slow but portable <string.h> stuff, only used in assertions ************************************************************************/ -#if !(__LZO_MMODEL_HUGE) -# undef ACC_HAVE_MM_HUGE_PTR +#define lzo_hsize_t lzo_uint +#define lzo_hvoid_p lzo_voidp +#define lzo_hbyte_p lzo_bytep +#define LZOLIB_PUBLIC(r,f) LZO_PUBLIC(r) f +#ifndef __LZOLIB_FUNCNAME +#define __LZOLIB_FUNCNAME(f) f #endif -#define acc_hsize_t lzo_uint -#define acc_hvoid_p lzo_voidp -#define acc_hbyte_p lzo_bytep -#define ACCLIB_PUBLIC(r,f) LZO_PUBLIC(r) f -#ifndef __ACCLIB_FUNCNAME -#define __ACCLIB_FUNCNAME(f) f -#endif -#define acc_hmemcmp __ACCLIB_FUNCNAME(lzo_memcmp) -#define acc_hmemcpy __ACCLIB_FUNCNAME(lzo_memcpy) -#define acc_hmemmove __ACCLIB_FUNCNAME(lzo_memmove) -#define acc_hmemset __ACCLIB_FUNCNAME(lzo_memset) -#define ACC_WANT_ACCLIB_HMEMCPY 1 -#include "miniacc.h" -#undef ACCLIB_PUBLIC +#define lzo_hmemcmp __LZOLIB_FUNCNAME(lzo_memcmp) +#define lzo_hmemcpy __LZOLIB_FUNCNAME(lzo_memcpy) +#define lzo_hmemmove __LZOLIB_FUNCNAME(lzo_memmove) +#define lzo_hmemset __LZOLIB_FUNCNAME(lzo_memset) +#define LZO_WANT_ACCLIB_HMEMCPY 1 +#include "lzo_supp.h" +#undef LZOLIB_PUBLIC /* |