aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/sha1.c')
-rw-r--r--hardinfo2/sha1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hardinfo2/sha1.c b/hardinfo2/sha1.c
index 947a086c..0981a04b 100644
--- a/hardinfo2/sha1.c
+++ b/hardinfo2/sha1.c
@@ -24,6 +24,10 @@ A million repetitions of "a"
#define LITTLE_ENDIAN /* This should be #define'd if true. */
#endif
+#if defined(__OPTIMIZE__)
+#error You must compile this program without "-O".
+#endif
+
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))