summaryrefslogtreecommitdiff
path: root/lzo/include/lzo/lzo2a.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2014-06-27 12:46:41 -0700
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-29 10:43:01 +0000
commit02ab5d34ba0a90e3b6dd78034d7c470c77500119 (patch)
tree38bb0a5322576be2e308f673f11b22e56769bd1c /lzo/include/lzo/lzo2a.h
parentf92b88bc6c65ba71dad92fe7da7b7085607b439a (diff)
downloadsyslinux-baserock/syslinux-4.06-gcc7.tar.gz
lzo: Upgrade to LZO 2.07baserock/syslinux-4.06-gcc7
Use version 2.07 of the LZO compression library. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Backported to the Baserock syslinux 4.06 branch in order to fix these compile failures with GCC 7 (part of the compiler detection preprocessor magic): In file included from src/lzo_init.c:61:0: src/miniacc.h:4415:16: error: variably modified '__acc_cta' at file scope ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) ^~~~~~~~~ src/miniacc.h:4420:16: error: variably modified '__acc_cta' at file scope ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) ^~~~~~~~~ In file included from src/lzo_init.c:61:0: src/miniacc.h:4649:16: error: variably modified '__acc_cta' at file scope ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) ^~~~~~~~~ ../mk/build.mk:29: recipe for target 'src/lzo_init.o' failed
Diffstat (limited to 'lzo/include/lzo/lzo2a.h')
-rw-r--r--lzo/include/lzo/lzo2a.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/lzo/include/lzo/lzo2a.h b/lzo/include/lzo/lzo2a.h
index c566241e..1c9ef2e9 100644
--- a/lzo/include/lzo/lzo2a.h
+++ b/lzo/include/lzo/lzo2a.h
@@ -2,19 +2,7 @@
This file is part of the LZO real-time data compression library.
- 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
@@ -39,7 +27,7 @@
#ifndef __LZO2A_H_INCLUDED
-#define __LZO2A_H_INCLUDED
+#define __LZO2A_H_INCLUDED 1
#ifndef __LZOCONF_H_INCLUDED
#include "lzoconf.h"
@@ -73,7 +61,7 @@ lzo2a_decompress_safe ( const lzo_bytep src, lzo_uint src_len,
// better compression ratio at the cost of more memory and time
************************************************************************/
-#define LZO2A_999_MEM_COMPRESS ((lzo_uint32) (8 * 16384L * sizeof(short)))
+#define LZO2A_999_MEM_COMPRESS ((lzo_uint32_t) (8 * 16384L * sizeof(short)))
LZO_EXTERN(int)
lzo2a_999_compress ( const lzo_bytep src, lzo_uint src_len,