diff options
Diffstat (limited to 'src/lzo1_99.c')
-rw-r--r-- | src/lzo1_99.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/src/lzo1_99.c b/src/lzo1_99.c index c1952d8..a0ebf36 100644 --- a/src/lzo1_99.c +++ b/src/lzo1_99.c @@ -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 @@ -49,7 +37,7 @@ // ************************************************************************/ -#define LZO_NEED_DICT_H +#define LZO_NEED_DICT_H 1 #include "config1.h" @@ -66,7 +54,7 @@ _lzo1_do_compress ( const lzo_bytep in, lzo_uint in_len, int r; /* don't try to compress a block that's too short */ - if (in_len <= 0) + if (in_len == 0) { *out_len = 0; r = LZO_E_OK; @@ -106,10 +94,10 @@ _lzo1_do_compress ( const lzo_bytep in, lzo_uint in_len, ************************************************************************/ #define LZO_COMPRESS \ - LZO_CPP_ECONCAT3(lzo1_,COMPRESS_ID,_compress) + LZO_PP_ECONCAT3(lzo1_,COMPRESS_ID,_compress) #define LZO_COMPRESS_FUNC \ - LZO_CPP_ECONCAT3(_lzo1_,COMPRESS_ID,_compress_func) + LZO_PP_ECONCAT3(_lzo1_,COMPRESS_ID,_compress_func) /*********************************************************************** |