diff options
author | Adam Megacz <adam@xwt.org> | 2002-08-26 05:29:59 +0000 |
---|---|---|
committer | Adam Megacz <megacz@gcc.gnu.org> | 2002-08-26 05:29:59 +0000 |
commit | 6005baa7073cb9f98cce713084cbb7cedac05f22 (patch) | |
tree | f8ac57567edc76b04e4c73ea02d5860c26c09614 | |
parent | e006911274ebef84eb89179c41c469b6ece85f95 (diff) | |
download | gcc-6005baa7073cb9f98cce713084cbb7cedac05f22.zip gcc-6005baa7073cb9f98cce713084cbb7cedac05f22.tar.gz gcc-6005baa7073cb9f98cce713084cbb7cedac05f22.tar.bz2 |
win32.h (getcwd): copied function declaration as temporary fix for header confusion.
2002-08-25 Adam Megacz <adam@xwt.org>
* include/win32.h (getcwd): copied function declaration as
temporary fix for header confusion.
From-SVN: r56574
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/include/win32.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 71b789f..2237d43 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-08-25 Adam Megacz <adam@xwt.org> + + * include/win32.h (getcwd): copied function declaration as + temporary fix for header confusion. + 2002-08-24 Mark Wielaard <mark@klomp.org> * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc. diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 8fbe393..9e494ad 100644 --- a/libjava/include/win32.h +++ b/libjava/include/win32.h @@ -19,6 +19,9 @@ details. */ #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 (); |