aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-31 13:19:27 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-31 13:19:27 -0500
commitb35b4d5a9a9967da9416fc8d2112910f00529967 (patch)
tree73e13824a69a95cc832bb9f16603830b9f4eaa65 /src/common
parentb0dd35589124ba596532b3640d28dfb21989b590 (diff)
parent73d605b0f759a2ff9f859f78f76098dcdb290d37 (diff)
downloadtor-b35b4d5a9a9967da9416fc8d2112910f00529967.tar
tor-b35b4d5a9a9967da9416fc8d2112910f00529967.tar.gz
Merge branch 'double-0-check'
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 25293a4ed..b03641971 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -74,6 +74,11 @@
#error "It seems your platform does not represent NULL as zero. We can't cope."
#endif
+#ifndef DOUBLE_0_REP_IS_ZERO_BYTES
+#error "It seems your platform does not represent 0.0 as zeros. We can't cope."
+#endif
+
+
#if 'a'!=97 || 'z'!=122 || 'A'!=65 || ' '!=32
#error "It seems that you encode characters in something other than ASCII."
#endif