* (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 */
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
#undef CPU_BIG_ENDIAN
#define CPU_CAN_DO_UNALIGNED_WORDS
#define CPU_CAN_DO_UNALIGNED_LONGS
+#define CPU_STRUCT_ALIGN 4
/* Misc */
#endif
-#ifdef linux
-#define HAVE_FFS
#endif