9ff284256a
2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/23761 * include/java-props.h (_Jv_Module_Load_Path): Declare variable. * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after lt_dlinit. * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path): Define variable. (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set _Jv_Module_Load_Path. From-SVN: r104044
34 lines
745 B
C++
34 lines
745 B
C++
// java-props.h - Properties -*- c++ -*-
|
|
|
|
/* Copyright (C) 1999 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
#ifndef __JAVA_PROPS_H__
|
|
#define __JAVA_PROPS_H__
|
|
|
|
typedef struct
|
|
{
|
|
char *key;
|
|
size_t key_length;
|
|
char *value;
|
|
size_t value_length;
|
|
} property_pair;
|
|
|
|
// Set to NULL-terminated list of properties set at compile time.
|
|
extern const char **_Jv_Compiler_Properties;
|
|
extern int _Jv_Properties_Count;
|
|
|
|
// Properties taken from the user's environment.
|
|
extern property_pair *_Jv_Environment_Properties;
|
|
|
|
// Module load path.
|
|
extern char *_Jv_Module_Load_Path;
|
|
|
|
#endif
|
|
|