On 10/22/20 6:09 PM, Russell Shaw wrote:
else if(sizeof(time_t) == sizeof(long int)) {
This is not the right kind of test. You want to test whether time_t and int are the same types, not whether they're the same size. To do that, you should use code like this:
extern time_t foo; extern long int foo;Of course this means you'll need to compile N programs rather than one, but that's life in the big Autoconf city.