diff options
author | Pixel <Pixel> | 2002-05-28 20:07:17 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-05-28 20:07:17 +0000 |
commit | fef24239144eb44f2a29f32c7272a1dd725dbe37 (patch) | |
tree | 573b875ce64f008a3092d7d867a52a32e120a4bd | |
parent | e2fa0166aa8cb791e2e7d8b47adb6e07cbfcc549 (diff) |
lzss fixing
-rwxr-xr-x | Makefile | 2 | ||||
-rw-r--r-- | lzss.cpp | 6 | ||||
-rw-r--r-- | lzss.h | 8 |
3 files changed, 8 insertions, 8 deletions
@@ -8,7 +8,7 @@ TARGET = lzss dlzss yazedc cd-tool dte-tool all: ${TARGET} lzss: lzss.cpp lzss.h generic.cpp generic.h fileutils.h fileutils.cpp - ${CXX} ${CPPFLAGS} ${LDFLAGS} -Dlzss_MAIN lzss.cpp generic.cpp fileutils.cpp -o lzss + ${CXX} ${CPPFLAGS} ${LDFLAGS} -DLZSS_MAIN lzss.cpp generic.cpp fileutils.cpp -o lzss dlzss: lzss ln -fs lzss dlzss @@ -437,7 +437,7 @@ void lzss_comp(FILE * f_source, FILE * f_cible, long * delta) { free(r); } -#ifdef lzss_MAIN +#ifdef LZSS_MAIN char * fn1, * fn2, * pname; @@ -572,8 +572,8 @@ int main(int argc, char ** argv) { compress = 0; } - printm(M_BARE, -lzss_NAME " compressor/decompressor version " lzss_VERSION ",\n" + printm(M_BARE, /* +LZSS_MAIN " compressor/decompressor version " LZSS_VERSION ",\n" */ "Copyright (C) 2002 Nicolas \"Pixel\" Noble\n" "This software comes with ABSOLUTELY NO WARRANTY; see COPYING for details\n" "Thanks to Czar Dragon, for his little 'lzss' schemes FAQ.\n" @@ -17,14 +17,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __LZ77_H__ -#define __lZ77_H__ +#ifndef __LZSS_H__ +#define __LZSS_H__ #include <stdio.h> #include <generic.h> -#define LZ77_VERSION "3.0.0-pre1" -#define LZ77_NAME "LZ77" +#define LZSS_VERSION "3.0.0-pre1" +#define LZSS_NAME "lzss" typedef struct { char * name; |