version 1.17, 2005/03/24 23:40:50 |
version 1.18, 2005/03/28 09:20:38 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/load.c,v 1.16 2005/03/24 22:54:22 takayama Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/load.c,v 1.17 2005/03/24 23:40:50 takayama Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 153 void env_init() { |
|
Line 153 void env_init() { |
|
#if defined(VISUAL) |
#if defined(VISUAL) |
get_rootdir(rootname,sizeof(rootname)); |
get_rootdir(rootname,sizeof(rootname)); |
asir_libdir = (char *)malloc(strlen(rootname)+strlen("/lib")+1); |
asir_libdir = (char *)malloc(strlen(rootname)+strlen("/lib")+1); |
|
sprintf(asir_libdir,"%s/lib",rootname); |
#else |
#else |
asir_libdir = (char *)malloc(strlen(ASIR_LIBDIR)+1); |
asir_libdir = (char *)malloc(strlen(ASIR_LIBDIR)+1); |
strcpy(asir_libdir,ASIR_LIBDIR); |
strcpy(asir_libdir,ASIR_LIBDIR); |