hash-functions: Use C instead of preprocessor to test size of double.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 31 Jan 2011 04:34:32 +0000 (20:34 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 31 Jan 2011 04:34:32 +0000 (20:34 -0800)
commit871dc2a4ffe7bd1c1b0a7c5a451ce9e23d4b7969
tree2a13436b68e67df839ccd8f114b90e69c50946e4
parent95b6394d56fe347634a207f2e65a3ef9cfe05ca8
hash-functions: Use C instead of preprocessor to test size of double.

I don't see a reason that this has to be done as an #if directive.  The
compiler should be easily able to optimize out the branch that will never
be taken.  This allows us to get rid of a configure check, so it seems
worthwhile to me.
configure.ac
src/libpspp/hash-functions.c