From 995eb818fba69c9ae050deefc88f18b6a7b6f1ea Mon Sep 17 00:00:00 2001 From: h_vogt Date: Thu, 27 Oct 2016 23:09:45 +0200 Subject: [PATCH] visualc/ /config.h: make search path for spinit relative to ngspice.exe: ../share/ngspice/scripts/spinit --- visualc/src/include/ngspice/config.h | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/visualc/src/include/ngspice/config.h b/visualc/src/include/ngspice/config.h index 65129bf8d..f0c645f20 100644 --- a/visualc/src/include/ngspice/config.h +++ b/visualc/src/include/ngspice/config.h @@ -437,31 +437,11 @@ /* Do not trigger unwanted traps by default */ /* #undef NEWTRUNC */ -#ifdef NGDEBUG -#ifdef CONFIG64 /* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice64d/bin" +/* Not used in MS Windows */ +#define NGSPICEBINDIR "../bin" /* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice64d/share/ngspice" -#else -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spiced/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spiced/share/ngspice" -#endif -#else -#ifdef CONFIG64 -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice64/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice64/share/ngspice" -#else -/* Define the directory for executables */ -#define NGSPICEBINDIR "C:/Spice/bin" -/* Define the directory for architecture independent data files */ -#define NGSPICEDATADIR "C:/Spice/share/ngspice" -#endif -#endif +#define NGSPICEDATADIR "../share/ngspice" /* Define if we want NOBYPASS */ /* #undef NOBYPASS */