Bruno Haible <[EMAIL PROTECTED]> writes: > #if ! (-2147483648LL < 0) > ... > #if ! (-9223372036854775807LL < 0)
If a compiler can't handle that sort of line, then its bugs are more serious, since it's relatively common to do preprocessor checks like "#if LLONG_MIN < LONG_MIN". How about this idea instead? We sort-of-combine the tests for unsigned long long and for signed long long, so that they always return consistent answers. One can AC_REQUIRE the other, for example, and use its answer. The combined test will be the union of the current tests.