fixes for compilation on windows
This commit is contained in:
parent
c60ab4203d
commit
ca5b294dbe
|
|
@ -120,7 +120,7 @@ ngspice_SOURCES = \
|
|||
ngspice_CPPFLAGS = $(AM_CPPFLAGS) -DSIMULATOR
|
||||
|
||||
if WINGUI
|
||||
ngspice_LDFLAGS = -municode $(AM_LDFLAGS) -ldl
|
||||
ngspice_LDFLAGS = -municode $(AM_LDFLAGS)
|
||||
ngspice_SOURCES += winmain.c hist_info.c
|
||||
else
|
||||
ngspice_LDFLAGS =
|
||||
|
|
|
|||
|
|
@ -105,7 +105,6 @@ extern int OSDIparam(int param, IFvalue *value, GENinstance *instPtr,
|
|||
}
|
||||
|
||||
extern int OSDImParam(int param, IFvalue *value, GENmodel *modelPtr) {
|
||||
NG_IGNORE(select);
|
||||
OsdiRegistryEntry *entry = osdi_reg_entry_model(modelPtr);
|
||||
const OsdiDescriptor *descr = entry->descriptor;
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ static char *resolve_path(const char *name) {
|
|||
char *const buf = ds_get_buf(&ds);
|
||||
buf[0] = buf[1];
|
||||
buf[1] = ':';
|
||||
char *const resolved_path = inp_pathresolve(buf);
|
||||
char *const resolved_path = resolve_path(buf);
|
||||
ds_free(&ds);
|
||||
return resolved_path;
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ static char *resolve_path(const char *name) {
|
|||
#endif
|
||||
|
||||
return (char *)NULL;
|
||||
} /* end of function inp_pathresolve */
|
||||
}
|
||||
|
||||
static char *resolve_input_path(const char *name) {
|
||||
/* if name is an absolute path name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue