asort: fix test when typesafe_cb not supported. origin/suncc
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Mar 2012 04:28:33 +0000 (14:58 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Mar 2012 04:28:33 +0000 (14:58 +1030)
commit5887216aa53cdb4709e9658462c4d4b2141ef91a
tree139dae91705dce57d35ac43c461b0dcfa1b7b204
parent74859ab18b10aaf990848e49d7789ff5c6cf96c6
asort: fix test when typesafe_cb not supported.

Solaris CC seems to support typeof, but not __builtin_types_compatible_p.
ccan/asort/test/compile_fail-context-type.c