r16016@catbus: nickm | 2007-10-21 20:44:19 -0400

Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."


svn:r12088
This commit is contained in:
Nick Mathewson
2007-10-22 00:44:42 +00:00
parent b481036266
commit 42172829ce
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -50,6 +50,10 @@
#error "It seems your platform does not represent NULL as zero. 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
/* ===== Compiler compatibility */
/* GCC can check printf types on arbitrary functions. */