Platform-Specific Sourcefiles?

Mohan Embar gnustuff@thisiscool.com
Fri Oct 10 02:34:00 GMT 2003


Hi People,

I've asked this question before, but never got a
response: Is it possible / desirable to put multipurpose,
platform-specific helper classes in their own
sourcefiles in order to avoid win32.* and
posix.* becoming too monolithic? How would this
work from a configure.in / Makefile.am standpoint?
There must be a more elegant way to do this than
to unconditionally compile such files and surround
them by #ifdef WIN32...#endif guards.

If this is not desirable, why not?

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





More information about the Java mailing list