Debug swcsa
[SXSI/TextCollection.git] / Tools.h
diff --git a/Tools.h b/Tools.h
index 45647e8..1fb4d56 100644 (file)
--- a/Tools.h
+++ b/Tools.h
 #   define W 32
 #endif
 
+#ifndef WW
 #define WW (W*2)
+#endif
+
+#ifndef Wminusone
 #define Wminusone (W-1)
+#endif
 
 #ifndef uchar
 #define uchar unsigned char
@@ -35,6 +40,8 @@
 #define ulong unsigned long
 #endif
 
+#define myminofthree(x,y,z) (x)<(y)?((x)<(z)?(x):(z)):(y)<(z)?(y):(z)
+
 
 class Tools
 {