summaryrefslogtreecommitdiff
path: root/lzo/src/lzo_str.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-02 17:28:05 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-02 17:28:05 +0200
commitace5e90b3dbc33f0fc34ac2f3dc40d3c990a6a11 (patch)
tree0b5cda436e04ee29efb5220da5634d04455c65c0 /lzo/src/lzo_str.c
parent78172a10165a969b8c002b6bdcf9dc47fa6cd5f3 (diff)
Update lzo version
Diffstat (limited to 'lzo/src/lzo_str.c')
-rw-r--r--lzo/src/lzo_str.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/lzo/src/lzo_str.c b/lzo/src/lzo_str.c
index bf08960f..faeb5b54 100644
--- a/lzo/src/lzo_str.c
+++ b/lzo/src/lzo_str.c
@@ -2,6 +2,9 @@
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
@@ -50,17 +53,20 @@
// slow but portable <string.h> stuff, only used in assertions
************************************************************************/
-#if !defined(__LZO_MMODEL_HUGE)
+#if !(__LZO_MMODEL_HUGE)
# undef ACC_HAVE_MM_HUGE_PTR
#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
-#define acc_hmemcmp lzo_memcmp
-#define acc_hmemcpy lzo_memcpy
-#define acc_hmemmove lzo_memmove
-#define acc_hmemset lzo_memset
+#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