Browse Source

ensure compilation succedes without OSDI

pre-master-46
Pascal Kuthe 3 years ago
committed by Holger Vogt
parent
commit
a7fced9327
  1. 6
      src/spicelib/parser/Makefile.am
  2. 2
      src/spicelib/parser/inpxx.h

6
src/spicelib/parser/Makefile.am

@ -21,7 +21,6 @@ libinp_la_SOURCES = \
inp2k.c \
inp2l.c \
inp2m.c \
inp2n.c \
inp2o.c \
inp2p.c \
inp2q.c \
@ -71,6 +70,11 @@ libinp_la_SOURCES = \
sperror.c \
inpxx.h
if OSDI_WANTED
libinp_la_SOURCES += inp2n.c
endif
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/frontend
AM_CFLAGS = $(STATIC)
AM_YFLAGS = -d

2
src/spicelib/parser/inpxx.h

@ -20,7 +20,9 @@ void INP2J(CKTcircuit *ckt, INPtables *tab, struct card *current);
void INP2K(CKTcircuit *ckt, INPtables *tab, struct card *current);
void INP2L(CKTcircuit *ckt, INPtables *tab, struct card *current);
void INP2M(CKTcircuit *ckt, INPtables *tab, struct card *current);
#ifdef OSDI
void INP2N(CKTcircuit *ckt, INPtables *tab, struct card *current);
#endif
void INP2O(CKTcircuit *ckt, INPtables *tab, struct card *current);
void INP2P(CKTcircuit *ckt, INPtables *tab, struct card *current);
void INP2Q(CKTcircuit *ckt, INPtables *tab, struct card *current, CKTnode *gnode);

Loading…
Cancel
Save