This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Integrating Win32 changes
- To: <java-discuss at sourceware dot cygnus dot com>
- Subject: Integrating Win32 changes
- From: "Jon Beniston" <jb7216 at bristol dot ac dot uk>
- Date: Mon, 17 Jan 2000 20:48:25 -0000
Hi all,
I've a couple of questions on what you think the best way of integrating
changes needed for the Win32 port.
First up, you can't do new FileDescriptor(0) for setting up the standard i/o
streams (as is done in java/io/FileDescriptor), should I have a new file
Win32FileDescriptor.java or would it be best to implement a native function
such as FileDescriptor::getStdHandle(int) for all ports.
Also, for native files where just a few changes are needed, such as
prims.cc, I'm putting #ifdef __MINGW32__ around the platform specific code.
Is that cool? Where a lot of changes have to be made I'm implementing them
in a new file.
Cheers,
Jon Beniston.