diff options
author | Roman Kennke <roman@kennke.org> | 2006-08-21 09:40:13 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2006-08-21 09:40:13 +0000 |
commit | 7810507ad2be975eaa270e6131d261c570f64660 (patch) | |
tree | cb3fd2268b00a4e622c866eca65984d5c9a9ac53 /native | |
parent | df85d7770fa993810394a6c05c2c1a2714c01e7a (diff) | |
download | classpath-7810507ad2be975eaa270e6131d261c570f64660.tar.gz |
2006-08-21 Roman Kennke <kennke@aicas.com>
* gnu/java/net/local/LocalSocketImpl.java
Only load native lib if this is supported by runtime.
* native/jni/java-net/local.c
Include config.h unconditionally.
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
Include config.h unconditionally.
Diffstat (limited to 'native')
-rw-r--r-- | native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c | 2 | ||||
-rw-r--r-- | native/jni/java-net/local.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c b/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c index 35fb6bcdc..f2b2f8e63 100644 --- a/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c +++ b/native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c @@ -38,9 +38,7 @@ exception statement from your version. */ #define _GNU_SOURCE -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* HAVE_CONFIG_H */ #include <gnu_java_net_local_LocalSocketImpl.h> diff --git a/native/jni/java-net/local.c b/native/jni/java-net/local.c index cdddd89ef..c8ca91c2a 100644 --- a/native/jni/java-net/local.c +++ b/native/jni/java-net/local.c @@ -36,9 +36,7 @@ obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif /* HAVE_CONFIG_H */ #ifdef ENABLE_LOCAL_SOCKETS |