]> mj.ucw.cz Git - libucw.git/blobdiff - lib/config.h
Syncing crashed repository with my work tree.
[libucw.git] / lib / config.h
index 62ef1af356452fe52374ae3e6a47bc91f3feab24..3c06a4700efe87ab55ef2d534ddcdc81f5976540 100644 (file)
@@ -4,9 +4,12 @@
  *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
  */
 
+#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