summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in4
-rw-r--r--libjava/include/java-props.h15
2 files changed, 19 insertions, 0 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 969a8bf4673..7fa60b53dd6 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -128,6 +128,10 @@
/* Define if java.net native functions should be stubbed out. */
#undef DISABLE_JAVA_NET
+/* Define if system properties shouldn't be read from
+ getenv("GCJ_PROPERTIES"). */
+#undef DISABLE_GETENV_PROPERTIES
+
/* Define if you have the access function. */
#undef HAVE_ACCESS
diff --git a/libjava/include/java-props.h b/libjava/include/java-props.h
new file mode 100644
index 00000000000..f18bea4a19e
--- /dev/null
+++ b/libjava/include/java-props.h
@@ -0,0 +1,15 @@
+// java-props.h - Properties -*- c++ -*-
+
+#ifndef __JAVA_PROPS_H__
+#define __JAVA_PROPS_H__
+
+typedef struct
+{
+ char *key;
+ size_t key_length;
+ char *value;
+ size_t value_length;
+} property_pair;
+
+#endif
+
OpenPOWER on IntegriCloud