This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
committed: fix for getcwd() on mingw32
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java-patches at gcc dot gnu dot org
- Date: 25 Aug 2002 22:29:27 -0700
- Subject: committed: fix for getcwd() on mingw32
- Organization: Myself
I know this isn't the most elegant way to fix this, but I'm starting
up my automated nightly build-and-runtest for mingw32 tonight, so I
just need to get the respository into a state where it builds... we
can hash out a better fix later.
- a
2002-08-25 Adam Megacz <adam@xwt.org>
* include/win32.h (getcwd): copied function declaration as
temporary fix for header confusion.
Index: libjava/include/win32.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/win32.h,v
retrieving revision 1.8
diff -u -r1.8 win32.h
--- libjava/include/win32.h 24 Apr 2002 01:33:19 -0000 1.8
+++ libjava/include/win32.h 26 Aug 2002 05:26:59 -0000
@@ -19,6 +19,9 @@
#include <gcj/cni.h>
#include <java/util/Properties.h>
+// FIXME: remove this once the io.h issue is resolved
+extern "C" char* getcwd (char*, int);
+
extern void _Jv_platform_initialize (void);
extern void _Jv_platform_initProperties (java::util::Properties*);
extern jlong _Jv_platform_gettimeofday ();
--
"Cassette tapes are killing the music industry" -- RIAA spokesperson, 1978