isnan: Add support for TinyCC
authorLudovic Courtès <ludo@gnu.org>
Fri, 15 Oct 2010 13:43:57 +0000 (15:43 +0200)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 15 Oct 2010 16:24:03 +0000 (09:24 -0700)
commita271ebc0ecb681aeea89e8610e457aca15a70284
tree562242315e8bd592266a399c67fc3014e8670318
parentd239853d024ca8fdc9fd719c75025020611ff5a1
isnan: Add support for TinyCC

Without this patch, tcc bails out:

  isnan.c:132: division by zero in constant

Tested with tcc 0.9.25 on x86_64-linux-gnu.

* lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C' & co.
ChangeLog
lib/isnan.c