X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fconfig.h;h=3c06a4700efe87ab55ef2d534ddcdc81f5976540;hb=ac9212c1d03bd23f6322bef39a4a0384b5afcc5d;hp=62ef1af356452fe52374ae3e6a47bc91f3feab24;hpb=9d5027b958e0ed7d2fa2c804fd255d686e8da5a7;p=libucw.git diff --git a/lib/config.h b/lib/config.h index 62ef1af3..3c06a470 100644 --- a/lib/config.h +++ b/lib/config.h @@ -4,9 +4,12 @@ * (c) 1997 Martin Mares, */ +#ifndef _SHERLOCK_CONFIG_H +#define _SHERLOCK_CONFIG_H + /* Version */ -#define SHER_VER "0.1" +#define SHER_VER "1.0" /* Types */ @@ -18,6 +21,10 @@ typedef unsigned int ulg; /* exactly 32 bits, unsigned */ typedef int slg; /* exactly 32 bits, signed */ typedef unsigned int uns; /* at least 32 bits */ +#ifndef NULL +#define NULL (void *)0 +#endif + /* CPU characteristics */ #define CPU_LITTLE_ENDIAN @@ -40,6 +47,4 @@ typedef unsigned int uns; /* at least 32 bits */ #endif -#ifdef linux -#define HAVE_FFS #endif