Platform-Specific Sourcefiles?

Mohan Embar
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 / 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

More information about the Java mailing list