summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-15 22:38:56 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-15 22:38:56 +0000
commit932359ed16f9098413ed8c8afd489324811f3af9 (patch)
treea62a290aa80d703465c399c7618dc878d025cffd /libjava/include
parentf6326164d16bbdacbf87a11b5a6b768da2502abb (diff)
downloadppe42-gcc-932359ed16f9098413ed8c8afd489324811f3af9.tar.gz
ppe42-gcc-932359ed16f9098413ed8c8afd489324811f3af9.zip
* java/lang/natSystem.cc (init_properties): Don't set user.name or
user.home if NO_GETUID defined. Only set user.dir if getcwd exists. * include/config.h.in: Rebuilt. * acconfig.h (NO_GETUID): New define. * configure.in: Rebuilt. * configure.in: Define NO_GETUID in cross case. Check for getcwd in native case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 6c08b161b6c..8dbdc5d4e67 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -135,6 +135,9 @@
/* Define if using setjmp/longjmp exceptions. */
#undef SJLJ_EXCEPTIONS
+/* Define if getuid() and friends are missing. */
+#undef NO_GETUID
+
/* Define if you have the access function. */
#undef HAVE_ACCESS
@@ -147,6 +150,9 @@
/* Define if you have the ftime function. */
#undef HAVE_FTIME
+/* Define if you have the getcwd function. */
+#undef HAVE_GETCWD
+
/* Define if you have the gethostbyaddr_r function. */
#undef HAVE_GETHOSTBYADDR_R
OpenPOWER on IntegriCloud