Am Montag, 20. März 2006 16:45 schrieb Enrico Forestieri: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > What are the preprocessor macros that say we are in cygwin -mnocygwin > > mode? This is what we have to test for. > > Please, find below the results obtained with and without -mno-cygwin. > Essentially, I think that in the first case the WIN32 thing (in all its > variants _WIN32, __WIN32, ...) gets defined, whereas in the second case > unix and variants gets defined (other than __CYGWIN__ and __CYGWIN32__).
The problem is that we would need to set the USE_WINDOWS_PACKAGING macro in configure. I believe that for now you ned to do that manually with the --with-packaging=windows switch if you use -mnocygwin. Enrico, does that work? If yes, it should probably be documented. Georg