Ben Pfaff <[EMAIL PROTECTED]> writes: > We could of course test whether the system is Windows, using > #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ > or similar. Is that a better idea?
Do you mean to have two Autoconf tests, one at compile-time (with the above code), and one at run-time (with the code proposed earlier)? I.e., do the run-time test only if the compile-time test indicates that there may be trouble. That sounds a bit fancy, but it would work. Or, you could just do the compile-time test and assume the bug exists if it fails. That should be good enough, too.
